Hello,
I am working in asp.net 2.0.i am displaying data from database through gridview,now i want that that one column get added with a link of update,that after clicking on update link database get update.

Thanks in advance,please help me as soon as possible.

Hello,
You can update a data from GridView by just clicking to the update link, for this you have to add update query for all field of gridview.

Member Avatar for kohkohkoh

hi,
you can go to my post here http://www.daniweb.com/techtalkforums/thread70934.html

you can see the update function, how it works
b4 that you need to edit your gridview column

add "command field" -> then you select the edit, select, delete, and add new,
of course u need to bind your gridview..

then add the query at the end of the code which u viewed from my post..near the red fonts.

however, i am having difficulty on inserting new item...

if some1 knows...mind helping me on it?
thanks :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.