Praveen Maurya

Praveen Maurya

  • NA
  • 146
  • 26.9k

please suggest data type for decimal value

Apr 7 2018 12:17 PM
i am trying to pass a decimal value through a textbox and want to store into a sql table i am trying this code but it is giving error
"input string was not in current format"
please suggest is there any thig issue in this or what code is better to use for
my code is as below
 
string total = textBox10.Text;  
double itotal = Int64.Parse(total);
 

Answers (4)