Checking for BOF or EOF

andycharger

Well-known member
Joined
Apr 2, 2003
Messages
152
Im pulling some records out of the database and displaying them on my asp.net web form in a datagrid. However, If I have no records returned from the database, I want to say "No Records Found". At the moment, it just displays the datagrid headings with no data in it. How can I do a check for EOF or BOF and write a message to the screen?

Any ideas?
 
Back
Top