Dear All
Can anyone tell me that in the below code why we are using e.Row.Style["display"] = "none"; and e.Row.Style["display"] = "block"; for
Grid view?
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (hdRowCountItem.Value != string.Empty)
if (e.Row.RowIndex >= int.Parse(hdRowCountItem.Value))
{
e.Row.Style["display"] = "none";
}
else
{
e.Row.Style["display"] = "block";
}
}