Question: ASP GridView, Why does Update affect all rows instead of a single row? Hello there, I am working with asp.net and gridview with a table
ASP GridView, Why does Update affect all rows instead of a single row?
Hello there, I am working with asp.net and gridview with a table connected to a database. I having a problem using the update of my gridview, when ever i click update, all rows are affected by the update and changed to the same thing and I don't understand why, my add record and delete work just fine, it's the update thats giving me trouble.


This is what the table looks like when I decide to edit one row.

Kasp:GridView runat-"server" ID-"MovieResults" Wrap-"true" Visible-"false" AutoGenerateColumns-"false" OnRowEditing="btnSubmit Click one" OnRowUpdatinge "btnSubmit update DataKeyNames="MovieID" OnRowDeleting="btnSubmit delete record">
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
