If a dataset contains 100 rows, how to fetch rows between 10
and 20 only ?
Answer Posted / vaidyanathan r.
DataRow[] dr = new DataRow[10];
for(int i = 10 to 19)
dr[i] = DataSet1.Tables[<TableIndex>].Rows[i];
DataRow array dr contains Records between 10 and 20.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
Define the data provider classes that is supported by ado.net?
What is data view and variable view?
Explain the architecture of ado.net?
What are the important features of ado.net 2.0?
How is entity framework different from ado.net?
What are all the commands used with Data Adapter?
Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.
What is the difference between Datareader and Dataset?
What is ado and dao?
What is difference in record set and dataset?
What are the classes in System.Data.Common Namespace?
What are the key features of ado.net?
Explain why edit is not possible in repeater?
What are the different methods available under the sqlcommand class to access the data?
Which is the best method to get two values from the database?