JavaScript Editor JavaScript Editor     JavaScript Debugger

Previous Section Next Section

Main Page

The SqlDataReader Class

As you can guess, the SqlDataReader class is the SQL Server version of the OleDbDataReader class. There are very few difference between the SqlDataReader class and the OleDbDataReader class; for most practical purposes, you use them the same way-you use the Read method to read a new row from a database, and as with the OleDbDataReader class, you can use methods like GetString, GetInt32, and GetBoolean to read the values of the individual fields in the row in succession.

Previous Section Next Section




JavaScript Editor Free JavaScript Editor     JavaScript Editor