L
Looch
Hi all,
I get a 'input string was not in a correct format' error on the second
line of code here. The sproc defines the '@quan5x7' as int.
sqlCmd.Parameters.Add("@quan5x7", SqlDbType.Int);
sqlCmd.Parameters[21].Value = Convert.ToInt32(cmbQuan5x7.Text);
The SqlDbType.Int is equal to System.Int32 correct?
Using C# Express and SQL 2005 Express. Thanks for any insight.
I get a 'input string was not in a correct format' error on the second
line of code here. The sproc defines the '@quan5x7' as int.
sqlCmd.Parameters.Add("@quan5x7", SqlDbType.Int);
sqlCmd.Parameters[21].Value = Convert.ToInt32(cmbQuan5x7.Text);
The SqlDbType.Int is equal to System.Int32 correct?
Using C# Express and SQL 2005 Express. Thanks for any insight.
Anyhow, the most likely cause for his error isprobably empty Text property or a Text property containing something other than an integer value.