Click here to Skip to main content
16,020,345 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have one table Name student,Certain field are displaying in the gridview, I did it successfully but I want that while clicking on Edit All field should be displayed in editable mode. Can Any one help me using Asp.net using c# 4.0????
Posted

The best way is to write custom code so that on clicking "Edit" button all the fields are populated to be updated, regardless of the fields shown in the gridview. I had written an article some time ago that has this functionality along with some other general purpose tasks. Please have a look at On-demand data population, custom paging, client-side sorting and other general functionality in GridView[^].
 
Share this answer
 
 
Share this answer
 
v2
 
Share this answer
 
Use Template field, Item Template and EditItem Template in gridview for every column.
 
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