Hi i searched online for this code
con.Open();
int parsedValue;
if (!int.TryParse(txtCCL.Text, out parsedValue))// if not an integer return message below
{
MessageBox.Show("This is a number only field");
return;
}
else
{
}
like in the txtCCL.Text how do i call check multiple textboxes like
con.Open();
int parsedValue;
if (!int.TryParse(txtCCL.Text||txtA.text||txtB.text, out parsedValue))
{
MessageBox.Show("This is a number only field");
return;
}
else
{
}
Thanks in advance