If a dataset contains 100 rows, how to fetch rows between 10
and 20 only ?

Answer Posted / satyambabu

Dataset consists of DataTable collection which consists of
DataRows. Create Dataset object, then create DataRow object

Dim objRow as New DataRow

objRow(9) to objTow(19) woud give the rows between 10 and
20, as first row is stored with index 0.

Is This Answer Correct ?    5 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How will you fill the gridview by using datatable object at runtime?

548


Explain what is datagrid with an example?

586


What is executequery?

496


What are the major challenges in accessing data from a database?

529


What is serialization and de-serialization in .net?

497






If a table contains 20000 records. In a page at each time 100 records to be displayed.

518


What is the difference between an ADO.NET Dataset and an ADO Recordset?

548


What is data adapter in ado.net with example?

518


What is microsoft ole db provider for sql server?

479


What is defaultview in datatable?

533


What is a datagridview?

516


Explain what are the steps to connect to a database?

495


How can we serialize the dataset object?

560


What is ole in vb?

508


What do you know about ADO.NET's objects and methods?

520