Hi,
How can I add button in gridview in asp.net.
Thanks, in advance
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Satyapriya NayakPosted Aug 31, 2011, 1:38 AM
Here is your code.
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %>
Thanks
If this post helps you mark it as answer
Prabhu RajaPosted Aug 31, 2011, 1:20 AM
Find attachment.
use following asp.net code in your web page.
Thank you.
Mittal SejpalPosted Aug 31, 2011, 12:58 AM
for adding edit, update,delete buttons there are many ways
e.g if you want to add delete button
right click on gridview and select add new column
select button from field type
select command name as delete from list and provide the other details
and add.
the another way is add new column make it template field and in that item template add button from tool box etc...
hope it helps you