The error i am getting for the below code is:
Cannot implicitly convert System.Web.UI.WebControls.GridViewRow to System.Web.UI.WebControls.GridView
The code is as below:
protected void GridView1_SelectedIndexChanged(object sender, EventArgs e)
{
GridView row = GridView1.SelectedRow;
strv1 = row.Cells[1].Text;
}
Am i missing out any namespace... PLZZZ HELP