Answer: With the help of Gridview Rows' Count property,we can check whether Gridview Contains any Row or Not?
Like:
if(grid_view_employee_details.Rows.Count>0)
{
//rows present
}
else
{
//rows do not present
}
Asked In: Many Interviews |
Alert Moderator