describe the dataset object in ado.net.



describe the dataset object in ado.net...

Answer / Md Hasan Ahmad

The DataSet object in ADO.NET is an in-memory representation of data, similar to relational databases. It can contain multiple tables, relationships between tables, and views. The DataSet is disconnected from the original database and supports read-only or editable access to data.n```csharpnDataSet ds = new DataSet(); // Initialize DataSetnds.Tables.Add("MyTable"); // Add a table named MyTablends.Tables["MyTable"].Columns.Add("Name", typeof(string)); // Add column for namesnds.Tables["MyTable"].Rows.Add("John"); // Add first rownds.Tables["MyTable"].Rows.Add("Sarah"); // Add second rown```

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ADO.NET Interview Questions

Explain the difference in record set and dataset?

1 Answers  


what is data access layer?

2 Answers   Honeywell,


What is the use of SqlCommand object?

1 Answers  


What is ado rdo dao in visual basic?

1 Answers  


What are the two fundamental objects in ADO.NET?

6 Answers  


What is aggregate root?

1 Answers  


Explain how to bind the controls(best practice) comboboxes to the data in the dataset?

1 Answers  


What is shadow copy?

1 Answers  


What are the advantages of using datalist?

1 Answers  


What does sqldatareader return?

1 Answers  


How to get oledb connection?

3 Answers  


Explain what are acid properties?

1 Answers  


Categories