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
Code
string total = textBox10.Text;Code
double itotal = Int64.Parse(total);
shafeek ckRank #5,857 · 284 reputationPosted Apr 7, 2018, 8:33 AM EDT
Rafnas T PRank #280 · 8.8K reputationPosted Apr 7, 2018, 10:09 AM EDT
Qing RyderRank #7,540 · 239 reputationPosted Apr 7, 2018, 10:52 AM EDT
Manav PandyaRank #166 · 14.3K reputationPosted Apr 7, 2018, 10:58 AM EDT