i have an object content int variables ... and i want take date from textbox into this object ... and I'm use convert.ToInt32(TextBox1.Text)..
the problime is when the TextBox is empty it's throw an error ??? how can I fix this problem
example
public class Study {
public string S_name;
Public Int S_age ;
Public Study() {}
}
Study s = new Study();
s.S_name=TextBox1.Text; // here error when TextBox Empty ????
...
Go to the complete details ...