Check Whether GridView Contain any row
ASP.NET
3
Posts
3
Posters
0
Views
1
Watching
-
I want to check whether gridview contain any row so that if grid view is empty i can print appropriate message. Note that gridview1.rows.count doesn't work. aLi
-
I want to check whether gridview contain any row so that if grid view is empty i can print appropriate message. Note that gridview1.rows.count doesn't work. aLi
Try setting the EmptyDataText property on the gridview. It is a message to display if the gridview is empty.
-
I want to check whether gridview contain any row so that if grid view is empty i can print appropriate message. Note that gridview1.rows.count doesn't work. aLi