What is a datatable?




Answers were Sorted based on User's Feedback



Answer / asfaq

data table is a object of dataset.u can consider it as a
vertual table.

Is This Answer Correct ?    6 Yes 1 No

Answer / akash

Datatable is used to contain data in tabular form using
rows and columns.

Is This Answer Correct ?    3 Yes 0 No

Answer / aditya

Data table is the table where we can idata table is a
object of dataset.u can consider it as a
vertual table.
nsert data.Datatable is used to contain data in tabular
form using
rows and columns.a data table is a table to place your
observations

Datatable which is used for holding a only one table
data's
data table is table in which the administrator put the
values of data to perform some operation on it

Is This Answer Correct ?    2 Yes 0 No




Answer / subramaniam

Datatable which is used for holding a only one table data's

Is This Answer Correct ?    1 Yes 0 No

Answer / abhishek

A DataSet is made up of a collection of tables, relationships, and constraints. In ADO.NET, DataTable objects are used to represent the tables in a DataSet. A DataTable represents one table of in-memory relational data; the data is local to the .NET-based application in which it resides, but can be populated from a data source such as Microsoft SQL Server using a DataAdapter For more information, see Populating a DataSet from a DataAdapter (ADO.NET).

The DataTable class is a member of the System.Data namespace within the .NET Framework class library. You can create and use a DataTable independently or as a member of a DataSet, and DataTable objects can also be used in conjunction with other .NET Framework objects, including the DataView. You access the collection of tables in a DataSet through the Tables property of the DataSet object.

The schema, or structure of a table is represented by columns and constraints. You define the schema of a DataTable using DataColumn objects as well as ForeignKeyConstraint and UniqueConstraint objects. The columns in a table can map to columns in a data source, contain calculated values from expressions, automatically increment their values, or contain primary key values.

In addition to a schema, a DataTable must also have rows to contain and order data. The DataRow class represents the actual data contained in a table. You use the DataRow and its properties and methods to retrieve, evaluate, and manipulate the data in a table. As you access and change the data within a row, the DataRow object maintains both its current and original state.

You can create parent-child relationships between tables using one or more related columns in the tables. You create a relationship between DataTable objects using a DataRelation. DataRelation objects can then be used to return the related child or parent rows of a particular row.

Is This Answer Correct ?    1 Yes 0 No

Answer / lokesh sharma

data table is table in which the administrator put the
values of data to perform some operation on it

Is This Answer Correct ?    0 Yes 0 No

Answer / bill gates

Data table is the table where we can insert data.

Is This Answer Correct ?    1 Yes 2 No

Answer / harishkumar

a data table is a table to place your observations

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More ADO.NET Interview Questions

what is different between SqlCommand object and Command Behaviour Object

3 Answers  


Can a DataReader be used as a DataSource for a GridView. If it is so how will you handle paging.

3 Answers   Directi,


What is the use of command objects?

2 Answers  


How to add Primary key in DataSet

6 Answers  


Whate are different types of Commands available with DataAdapter ?

2 Answers  


Difference between OLEDB Provider and SqlClient ?

2 Answers  


what is clustered index?why is it created?

4 Answers   Wipro, Microsoft,


What is method to get XML and schema from Dataset?

2 Answers  


How to you declare connection strings and how to you make use of web.config ?

3 Answers   MMTS,


can we change the data in dataset? if yes what is the process?

1 Answers   Artech,


What is ODP.NET ?

1 Answers   TCS,


what is trigger?

8 Answers   Microsoft, Precept Technology,




Categories