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.Paramete rs.Add("@quan5x 7", SqlDbType.Int);
sqlCmd.Paramete rs[21].Value = Convert.ToInt32 (cmbQuan5x7.Tex t);
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.Paramete rs.Add("@quan5x 7", SqlDbType.Int);
sqlCmd.Paramete rs[21].Value = Convert.ToInt32 (cmbQuan5x7.Tex t);
The SqlDbType.Int is equal to System.Int32 correct?
Using C# Express and SQL 2005 Express. Thanks for any insight.
Comment