joe_pool_is Posted November 10, 2004 Posted November 10, 2004 Help! When I try to write to my database, I get this error: Error: Parameter ?_7 has no default value. I have assigned all of my parameters a default value, though. For those of you who need to see some code, it is attached as "sql-save.zip", a 2.2 KB text file. sql-save.zip Quote Avoid Sears Home Improvement
joe_pool_is Posted November 12, 2004 Author Posted November 12, 2004 If this helps anyone, the Exception is thrown when this line is reached:Adapter1.Update(DataTable1)But from looking at my code, each field seems to have been added to the insert command, each parameter seems to be included, and each column to the datarow seems to be added. I don't know why I am getting this. Any suggestions? Quote Avoid Sears Home Improvement
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.