Answers to Hour 21
1: | What is the name of the data access components used in the .NET Framework? |
A1: | ADO.NET |
2: | What is the name given to a collection of DataRows? |
A2: | DataTable |
3: | How do I get data into and out of a DataTable? |
A3: | Use the Fill() and Update() methods of the ADO.NET DataAdapter. |
4: | What object is used to connect to a data source? |
A4: | The connection object appropriate to the data source (SqlConnection or OleDbConnection) |
5: | What argument of a connection string contains information about the type of data being connected to? |
A5: | The Provider= argument |
6: | The functionality of a DataTable (read-only, updateable, and so forth) is determined by what? |
A6: | The DataTable always has the same functionality, regardless of the source of the data. |
7: |
Get Sams Teach Yourself C#™ in 24 Hours 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.