Click here to Skip to main content
13,191,638 members (67,015 online)
Click here to Skip to main content


Posted 14 Feb 2013

Input string was not in a correct format.

, 14 Feb 2013
If your input is coma separated then you can split the input and process it like belowstring []totals = txttotal.Text.Split(',');foreach(string total in totals){ Decimal decimalTotal; Decimal.TryParse(total,out decimalTotal); esc.totsa(decimalTotal); }since you havent told...



Compare Revision Minor Date Status Editor
3 - publicly available No 14-Feb-13 14:38 Available Jibesh
Updates in content. 3 changes had been made.
2 No 14-Feb-13 14:37 Available Jibesh
Updates in content. 139 changes had been made.
1 No 14-Feb-13 14:30 Available Jibesh


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Technical Lead
United States United States
a hard core developer

You may also be interested in...

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.171017.2 | Last Updated 14 Feb 2013
Article Copyright 2013 by Jibesh
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid