Previous Thread

6/19/2006 6:17:50 AM    Re: How to determinate if a GridView is empty
ad wrote: 
 
Why don't you check the dataset you bind to the gridView ?



6/19/2006 8:53:44 AM    How to determinate if a GridView is empty
Hi, 
 
How to determinate if a Gridview is empty?

6/19/2006 2:52:36 PM    Re: How to determinate if a GridView is empty
Do this 
 
gridview1.rows.count = 0 
 
"ad" <flying@wfes.tcc.edu.tw> wrote in message 
 
news:ezlLP8zkGHA.1344@TK2MSFTNGP03.phx.gbl...

6/19/2006 9:06:00 PM    Re: How to determinate if a GridView is empty
Thanks, 
 
I thought it can do before. 
 
But when there is header row in a gridview, it is empty, but 
 
gridview.rows.count will be larger than zero. 
 
"Rotsey" <malcolm_smith@RemoveThis.optusnet.com.au> ¼¶¼g©ó¶l¥ó·s»D:Oe9tov1kGHA.4200@TK2MSFTNGP05.phx.gbl...