TheConeHead
Programmer
I am tranisitioning from asp to asp.net and have some basic questions... I am dev. from visual studio. My first question is:
In asp I would create a record set and see if it is empty via:
if (!rs.eof && !rs.bof) {
How do I do this in .net - do I create a data reader?? I have the SQL connection and command in my code behind page but I can not figure out how to create a record set and simply check it....
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)
In asp I would create a record set and see if it is empty via:
if (!rs.eof && !rs.bof) {
How do I do this in .net - do I create a data reader?? I have the SQL connection and command in my code behind page but I can not figure out how to create a record set and simply check it....
![[conehead] [conehead] [conehead]](/data/assets/smilies/conehead.gif)