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
What are datareaders?
Which property is used to check whether a DataReader is closed or opened?
What are good ado.net object to replace to ado recordset object.
What is a data control clerk?
Explain why edit is not possible in repeater?
Explian About DataAdapters
What is full form of ado?
Explain the difference in record set and dataset?
What is the difference between dataset and datatable?
How can we save all data from dataset?
What are the namespaces used in ado.net for data access?
What are the pre-requisites for connection pooling?
Explain the dataadapter class in ado.net?
What is executenonquery ado.net?
What are the different methods by which we can populate a dataset?