Forums

This topic is locked

DataGrid Update Error

Posted 17 Nov 2003 20:45:22
1
has voted
17 Nov 2003 20:45:22 Ken trimmer posted:
I've created a datagrid in DWMX with an edit update and cancel column.
Everything works fine except when I click update. I get this error.

System.Data.SqlClient.SqlException: The variable name '@Product_Types' has already been declared. Variable names must be unique within a query batch or stored procedure.
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at DreamweaverCtrls.DataSet.OnDataGridUpdate(Object Src, DataGridCommandEventArgs E)

I can't seem to find an answer anywhere

Reply to this topic