Using SQLDataReader

Results 1 to 2 of 2

Thread: Using SQLDataReader

  1. #1
    Join Date
    Dec 1969

    Default Using SQLDataReader

    What reason would I have to use a SQLDatareader over using ADODB.Connection.Execute and recordsets to retrieve a single value from a table? I&#039;m attempting to read the value from a table like below when I already have the name. <BR><BR>columnID columnName <BR><BR>1 myname<BR><BR>Using ADO, this is easy, create the connection and set the execute to a recordet. Using A SQLDatareader, I would assume this is easy but I can&#039;t get it to work. Should I just use ADO instead? (I&#039;m under the impression that in .NET using the new objects is preferable). Any advice?<BR><BR>Thanks!<BR>

  2. #2
    Join Date
    Dec 1969

    Default Read

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts