Edit & update rows!

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)?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top