protected void grdtopic_RowCommand(object sender, GridViewCommandEventArgs e) { if (e.CommandName == "Select") { LinkButton lnk = (LinkButton)e.CommandSource; string TopicID = lnk.CommandArgument; // do something } }
CommandArgument
GridViewRow
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)