6
Answers

How to pass text box number into int variable using c#

Viral  Patel

Viral Patel

9y
605
1
How to bind total in text box :
Ex : 15000 Database tot_amt Fileds Value Bind In Textbox
TextBox Value in Number =15000;
This Value Pass To The Integer Variable
Ex:
         int a=Convert.ToInt32(Textbox.text);
 
But Textbox value are not the pass in a integer variable a.
How can possible to solved this problem .
plz answer this problem....... 
Answers (6)