P
PiotrF
I am testing ASP.NET 2.0 with MS SQL 2000. I get server error: "Exception
Details: System.Data.SqlClient.SqlException: Must declare the variable
'@KEY'" after record updating in GridView or DetailsView. I do not get this
message when I use MS ACCESS. I do not get this message with MS SQL when I do
not use DataKeyNames="KEY" in <asp:GridView ……/> or <asp
etailsView …>. What
should I change?
Details: System.Data.SqlClient.SqlException: Must declare the variable
'@KEY'" after record updating in GridView or DetailsView. I do not get this
message when I use MS ACCESS. I do not get this message with MS SQL when I do
not use DataKeyNames="KEY" in <asp:GridView ……/> or <asp
should I change?