I have grid view with link button named 'CLICK'. when clicks on this link button I wants to change its text to "CLICKED" I have done like this, on row command
if (e.CommandName == "ARCHIVE") //FOR SETTING THE VIEW LINK BUTTON
{
LinkButton lnkbtn = (LinkButton)sender;
lnkbtn.Text = "viewed";
lnkbtn.Enabled = false;
}
but its not working. please help