Answer Posted / badmoon
The DataTable is an in-memory representation of a block of
data. We can create our own tables in code using a DataSet
and the types defined in the System.Data.OleDb or
System.Data.SqlClient namespaces. The following are the
core properties that are used while creating a DataTable.
CaseSensitive: Indicates whether string comparisons in
the table are case-sensitive or not.
ChildRelations: Returns the collection of child relations
of the DataTable (if any).
Columns: Returns the collection of columns that belong to
this table.
Constraints: Gets the constraints maintained by this table.
DataSet: Gets the dataset that contains this table.
DefaultView: Gets a customized view of the table that may
include a filtered view or a cursor position.
MinimumCapacity: Gets/Sets the initial number of rows in
the table.
ParentRelations: Gets the collection of parent relations
for this table.
PrimaryKey: Gets/Sets a primary key for the table.
Rows: Returns the collection of rows that belong to this
table.
TableName: Gets/Sets the name of the table.
| Is This Answer Correct ? | 18 Yes | 8 No |
Post New Answer View All Answers
Explain the dataadapter class in ado.net?
how you will deal result set? How do you sort a dataset?If a dataset contains 100 rows, how to fetch rows between 5 and 15 only?
Which one of the following objects is a high-level abstraction of the connection and command objects in ado.net?
Which is better ole db or odbc?
Which is faster sqldataadapter and sqldatareader?
What is ado recordset?
Define data adapter?
What is the difference between the clone() and copy() methods of the dataset class?
What are the important features of ado.net 2.0?
What are disadvantages of microsoft-provided data provider classes in ado.net?
What is the provider being used to access oracle database?
What is an ado?
How to aggregating data across related tables?
What is ole data type?
Does dapper use ado.net?