ASP.NET - How to have edit link for every field in the form in asp.net.
Asked By Rohini Kuchadi on 01-Dec-12 01:07 AM
Hi
I have two fields 'Name' and 'Profession'. when i place cursour on the 'Name' field,'Edit' link should be displayed.and when i click on that 'Edit' link,name field should be editable and it should have 'save'and 'cancel' buttons also.when i click on the 'Save' button,edited data of the 'Name' field should be saved into database.when i click on 'cancel' button,editing of the 'Name' field should be cancelled.same thing should be done for 'Profession' field also.
Please let me know how to do it in asp.net.
thanks in advance.
Chintan Vaghela replied to Rohini Kuchadi on 01-Dec-12 02:25 AM
Hi there,
to achieve this task, you need to customize your GRID.....
take Template Column , in this column take one Edit LInk , One Cancel Link and one Save link....
Base on this link hide/show other link