By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,952 Members | 1,616 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,952 IT Pros & Developers. It's quick & easy.

Input string was not in correct format

P: 1
cmd.Parameter.Add("@rate",SqlDbType.Decimal).Value =Convert.ToDecimal(grdvwpurorder.Rows[index].Cells[6].Text);


Here i am getting error that "Input string was not in correct format".
Please help me to sortout this error.
Jun 21 '12 #1
Share this Question
Share on Google+
1 Reply


India777
P: 61
What is the Datatype of @rate parameter in SqlQuery? Make Sure it is Decimal.
Jun 21 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.