O'Reilly logo

Pro C# 2010 and the .NET 4 Platform, Fifth Edition by Andrew Troelsen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

22.5. Working with DataTables

The DataTable type defines many members, many of which are identical in name and functionality to those of the DataSet. Table 22-7 describes some core members of the DataTable type beyond Rows and Columns.

Table 22.7. Key Members of the DataTable Type
MemberMeaning in Life
CaseSensitiveIndicates whether string comparisons within the table are case sensitive. The default value is false.
ChildRelationsReturns the collection of child relations for this DataTable (if any).
ConstraintsGets the collection of constraints maintained by the table.
Copy()A method that copies the schema and data of a given DataTable into a new instance.
DataSetGets the DataSet that contains this table (if any).
DefaultViewGets a customized view of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required