OK, to find out if you are at the end or beginning of a database after an sql you would use say:
VB Code:
  1. if objrs.bof or objrs.eof then
  2.       alert("Record was not found.", "No Record", vbokonly)
  3. else
  4.       'do something here
  5. end if
How do you accomplish this in say VB.NET or ASP.NET?