Viral  Patel

Viral Patel

  • NA
  • 39
  • 20.8k

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

Sep 3 2015 3:33 AM
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)