Quiz

1:The ______________ object in ADO.NET handles the execution of SQL statements for the DataReader and DataAdapter classes.
A1: Command
2:The DataReader is used for forward-only reading of data. To be able to reuse data from a database, manipulate the __________ class.
A2: DataSet
3:True or False: The SqlDataAdapter and OleDataAdapter share the same functionality.
A3: False. The answer is misleading, though. The two classes share about 98% of the same functionality, with DataType classes being the main difference.
4:True or False: You don't need to use a Connection object with the DataAdapter class because it handles all connection information for you.
A4: False. You still must set connection parameters. The DataAdapter explicitly opens a connection ...

Get Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.