1
Hello chandan
Try this
https://stackoverflow.com/a/466640
1
Add image button like this
<asp:ImageButton ID="imgbtnUser" runat="server" CommandName="User" CommandArgument='<%#Eval("UserID")%>'></asp:ImageButton>
then read id like this
protected void grdUserList_RowCommand(object sender, GridViewCommandEventArgs e)
{
if(e.CommandName.Equals("User"))
{
var UserID = e.CommandArgument.ToString();
}
}
0
When you need Id? You means click on imagre button of add column "+" sign ?
and you want to get id from clientside or server side? if client side you will use jquery .
so please give me details about your question so i will help you.
Thank you
0
Not Getting Your answer sir.....
Please help me