2009/5/18 sam <[email protected]>: > > hello folks, > > i am using a TextBox Contorl.Now i wanna to store TextBox value in int > dataType. > > private int _intValue = TextBox.text.toString();
private int _intValue = Int32.Parse(TextBox.text); If "TextBox.text" doesn't contain a number it will throw an excepcion.. You may use Int32.TryParse too... > but it gives error.plz tell me how can i store dis. > > Thanx, > Sam -- Oscar Mederos
