I'm binding a data source to a data grid :
objConnection.O pen();
dgHistory.DataS ource =
objCommand.Exec uteReader(Comma ndBehavior.Clos eConnection);
dgHistory.DataB ind();
The question I have is, if the data source is empty how do I test for
this? I want to print to the screen using a label if there is no data
to be displayed.
Any help would be appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
objConnection.O pen();
dgHistory.DataS ource =
objCommand.Exec uteReader(Comma ndBehavior.Clos eConnection);
dgHistory.DataB ind();
The question I have is, if the data source is empty how do I test for
this? I want to print to the screen using a label if there is no data
to be displayed.
Any help would be appreciated.
Cheers,
Mike
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Comment