I am in the midst of a program to convert number into words.
I am getting an error : Input string was not in a correct format
These are my codes:-
My error comes in these line:-
int number = Convert.ToInt32(txtNetAmount.Text.ToString()); // error line
frm.Report.SetText(axFpColm, axFpRow, "In words: " +objConv.NumberToWords(number));
Please help me to solve this problem.


Ankur JainRank #2,475 · 567 reputationPosted Aug 16, 2014, 12:55 AM EDT
try like this..
Design page
Code Bheind:
VulpesRank #55 · 29.2K reputationPosted Aug 16, 2014, 1:59 AM EDT
http://www.c-sharpcorner.com/Forums/Thread/263117/converting-one-hundred-trillion-digits-to-text.aspx
Ramesh MaruthiRank #937 · 2.2K reputationPosted Aug 16, 2014, 6:20 AM EDT
Once look at Humainzer it's awesome to do this kind of things, no need of writing any code :)
Ajay YadavRank #313 · 8.1K reputationPosted Oct 28, 2014, 7:31 PM EDT