Chapter 3. Storing Data in Memory

After completing this chapter, you will be able to:

  • Explain how a DataTable stores data

  • Add new data rows to a table

  • Examine, update, and remove existing values in a table row

  • Explain how ADO.NET differentiates between pending and final data values

  • Integrate data verification code into your DataTable object

Adding columns to a DataTable is an essential step in managing data in ADO.NET, but the columns themselves contain no data. To store actual data values in an ADO.NET table, you must use the DataRow class. After you place one or more data rows in a table, the real work of managing application-specific information begins. This chapter introduces the DataRow class and its role in data storage within each data table. ...

Get Microsoft® ADO.NET 4 Step by Step 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.