Click here to Skip to main content
15,890,690 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How do i work with custom Edit, Delete , New buttons In Details View Instead of auto generated Delete,Edit,New buttons... Please Give me a brief Explanation... if any one know..
Posted

You can have a look here to know how the DetailsView is used with Add,Edit and Delete.
http://hamidseta.blogspot.in/2012/02/addupdatedelete-detailsview-in-aspnet-c.html[^]
 
Share this answer
 
Comments
Bajid Khan 28-Nov-13 7:33am    
Thanq For Ur Answer... that contain Detailed Explanation as it is what i am expect... thanq very Much...
Thomas ktg 28-Nov-13 7:35am    
You are welcome.
You can use your own buttons for these operations
Put CommandName as follows

For Edit: CommandName="Edit" event will be call GridView_OnRowEditing
For Delete: CommandName="Delete" event will be call GridView_OnRowDeleting
For Select: CommandName="Select" event will be call GridView_OnRowSelecting
 
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