andycharger Posted September 9, 2003 Posted September 9, 2003 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? Quote
Administrators PlausiblyDamp Posted September 9, 2003 Administrators Posted September 9, 2003 Are you using a datareader or a dataset / datatable? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.