ShawnCoutts
Programmer
I am a relatively new user to VB.NET, but have worked extensively in VB 6. In my program, using the server explorer, I have created an sqlconnection object and a data adapter for each table in my database. The problem I am having comes when I try to use an insert command to insert a new record into my database. The syntax of my command is correct, but I continually get the following error:
System.Data.OleDb.OleDbException: Must declare the scalar variable "@MillCode".
Now this variable has been declared as I have made sure to add a parameter for each value being inserted. I have been working on this for the better part of a day, and am getting quite frustrated with the whole thing. Any help would be greatly appreciated.
Shawn
System.Data.OleDb.OleDbException: Must declare the scalar variable "@MillCode".
Now this variable has been declared as I have made sure to add a parameter for each value being inserted. I have been working on this for the better part of a day, and am getting quite frustrated with the whole thing. Any help would be greatly appreciated.
Shawn