Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hi all,

i need to update all fields in a single row in gridview...can anyone suggest what condition(if any) can i use in query to get it done? table has no primary key...any help is highly appreciated....
Updated 10-Oct-13 20:11pm

In Query use ID(In where Condition) to update a particular record

For Gridview editing check this link

Regarding updating table[^]
Share this answer
I did a lot of searching on this and found out that there has to be some kind of unique identifier for updating records...that identifier value can be put into data key names and not shown in the gridview...then all fields of gridview can be put in editable mode and updated...
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900