I want to access the control in gridview,but not in grid events,I have use following code but its not working plz help me..
foreach (GridViewRow row in gvRegisterProduct.Rows)
{
if (row.RowType == DataControlRowType.DataRow)
{
LinkButton lbreview = (LinkButton)row.FindControl("review");
lbreview.Attributes.Add("style", "display:block");
}
}