this is my code.
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
comp.CLASSID = Convert.ToInt32(comboBox2.SelectedValue.ToString());
comp.ACADAMICYEAR = textBox1.Text;
List<string> result = inter.getSectionforsetting(comp);
comboBox3.DataSource = result;
the error is
Input string was not in a correct format.
when i enter the above code in combobox2_leave event it actually run without any error.
what is the error
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)