I am binding gridview in RowCommand but it is not firing RowDataBound plesae

62 Views Asked by At

I am binding gridview in RowCommand but it is not firing RowDataBound plesae help.

binding gridview in RowCommand

protected void gdServerAccess_RowCommand(object sender, GridViewCommandEventArgs e)
{
       serverClassobj.DeleteRequest(strServerAccessGUID);
       gdServerAccess.DataSource = serverClassobj.GetUserServerAcceessList(Convert.ToInt32(Session["UserId"]));
       gdServerAccess.DataBind();
}

I want the RowDataBound to be fired as i have to change labels there as the Row Command deletes a record

0

There are 0 best solutions below