Update GridView with the input of the user

Discussion in 'ASP.NET / ASP.NET Core' started by Mahdi837, Dec 25, 2008.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I am trying to update GridView with the input of the user but getting exception when pressing on Update -

    "Data keys must be specified on GridView 'GridView1' before the selected data keys can be retrieved. Use the DataKeyNames property to specify data keys. "

    The Update statement I used is - UPDATETABLE_NAME SETCOLUMN1 = @COLUMN1

    Please help...
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page