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 for you. You don't have to use connection.open. |
| 5: | True or False: The DataBindings collection in .NET only supports DataSets and XML files for simple and complex binding to the Label control, the DataGrid control, and the TextBox control. |
A5: | False. You can use the DataBindings collection with many controls, and the only complex binding mentioned in the question would be the DataGrid control. |
| 6: | In Web Forms, I can use the _____________ object and the ___________ object to bind controls to a data source. |
A6: | DataSet, DataReader |
• Table of Contents
• Index
Sams Teach Yourself Visual Studio® .NET 2003 in 21 Days
By
Jason Beres
Publisher
: Sams Publishing
Pub Date
: January 14, 2003
ISBN
: 0-672-32421-0
Pages
: 696
Sams Teach Yourself Visual Studio .NET in 21 Days will help developers that are new to application development and experienced developers understand how to use the .NET Framework and Visual Studio .NET to rapidly develop any type of computer application. The Visual Studio .NET development environment is the most comprehensive developer tool ever created, putting that together with the .NET Frameworks' Class Libraries, the developer has everything he or she needs to get up-to-speed on Microsoft's latest revolution in application development. This book will guide the developer through using the VS .NET IDE, the Visual Basic .NET and C# language, and the supporting tools available from Microsoft to create Windows and Web-based applications. The market is full of books that pretty much say the same thing, which is already available in the help files, the author of this book has written and deployed over a dozen successful applications using Visual Studio .NET and the .NET Framework. All of his expertise and experience is used to give you the most comprehensive title on using Visual Studio .NET.