G
Guest
Hi!
I've got a aspx page with a textbox, a detailsview and a gridview. In the
textbox i enter a jobnumber. If the jobnumber exists in the table, the
detailsview shows the columns in the table in edit mode. The Gridview shows
all columns in the selceted row. The Jobnumber is the tables primary key. So
when i edit some of the fields in the detailsview and select update, I can
see in yhe gridview that the update is ok. BUT! When I select * from the
table, all rows have been updated with the changes???.Ex. JobNumber 1 and 2
has the same values. How do I set the update to only update the selected
row(JobNumber)?
I've got a aspx page with a textbox, a detailsview and a gridview. In the
textbox i enter a jobnumber. If the jobnumber exists in the table, the
detailsview shows the columns in the table in edit mode. The Gridview shows
all columns in the selceted row. The Jobnumber is the tables primary key. So
when i edit some of the fields in the detailsview and select update, I can
see in yhe gridview that the update is ok. BUT! When I select * from the
table, all rows have been updated with the changes???.Ex. JobNumber 1 and 2
has the same values. How do I set the update to only update the selected
row(JobNumber)?