protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
{
if (e.CommandName == "Select")
{
int index = Convert.ToInt32(e.CommandArgument);
GridViewRow selectedRow = GridView1.Rows[index];
//ANOTHER approach via TableCell ... thiis not working to do
TableCell CellcontactName = selectedRow.Cells[4];
string contact = CellcontactName.Text;
lblMsg.Text =
}
}
Hi ,
I am following this link guidance. For unknown reasons, I am not getting the value from thecell.
appreciate your help..
This is the link. It should work..
Bob
http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.
buttonfieldbase.buttontype(v=vs.90).aspx
...
Go to the complete details ...