Click here to Skip to main content
15,902,882 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello :)

I have a grid view, with an update button for each row

how can I convert the labels that view the data into text boxes, or if I already uses a disabled text boxes, how to enable them for the selected row ?

and if I did, how to take the new values to server side code to use them in update statement or any other uses ?

thank you all in advance...
Tejas Vaishnav 17-Jul-12 8:33am    
before asking any question please do goggling or search in code project articles if you cant find your solution then ask a question.
Strange_Pirate 18-Mar-13 8:33am    
It will be damn good, If you stop misbehaving and give proper answers to users of community.

We all are here to help. Not to give In Formal advise.. :)

Editable GridView in ASP.NET 2.0[^]

checkout this link
Share this answer
Tejas Vaishnav 17-Jul-12 8:30am    
my 5+, nice answer.
MAU787 17-Jul-12 8:32am    
Thank you..
There is a field named "Template Field" is there in gridview. You can use this to format your gridview in different modes. You should read this:[^][^][^]

Here you'll get the answer of your question.
All the best.
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