If a dataset contains 100 rows, how to fetch rows between 10
and 20 only ?
Answer Posted / vijay
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 ? | 7 Yes | 4 No |
Post New Answer View All Answers
Does executenonquery return a value?
How to perform sorting on a table in ADO.NET?
Which is better entity framework or ado.net?
What is the difference between Optimistic and Pessimistic locking?
Explain the different row versions available in table?
What provider ado.net use by default? Explain the role of data provider in ado.net? What is the role of data provider in ado.net?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
What is the role of the dataset object in ado.net?
Explain the difference in record set and dataset?
How do I delete a row from a DataTable?
Why edit is not possible in repeater?
How will you differentiate between ADO (ActiveX Data Object) and RDO (Remote Data Objects)?
What are all the different methods under sqlcommand?
What is ole in vb?
What is ado.net connection?