so I have 3 fields that combines into 1 string and I'm currently fixing the validation so the question is how can i identify a certain textbox that is empty and the user needs to fill it up before he/she can proceed i tried this
if(string.IsNullOrEmpty(txtEYear.Text) || string.IsNullOrEmpty(txtECat.Text) || string.IsNullOrEmpty(txtEID.Text))
{
MessageBox.Show("Please fill in the missing fields");
}
For that you have to use separate loop and form the message something like this: