Click here to Skip to main content
15,945,334 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi..

i wanna know how to create edit and delee button inside the gridview in .Net Window Application.
Help me plz..


Thanking you.
Posted
Updated 9-Sep-11 19:31pm
v2

1 solution

inside template field in item template you can create
<pre>
<asp:gridview id="grid" runat="server">
<asp:templatefield>
<itemtemplate>
<asp:buttton id="btnEdit" runat="server" text="Edit"/>
<asp:buttton id="btndelete" runat="server" text="Delete"/>
</itemtemplate>
</asp:templatefield>
</asp:gridview>
</pre>



in rowcommand u can do calculations
 
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