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 the benefits of ADO.NET?
Explain the basic use of "dataview" and explain its methods.
How to connect and retrieve data from database using dataset
What are the data providers used in ado.net
What is the difference between ADO and ADO.Net?
What are the drawbacks of using ado.net?
What is ado oledb and odbc?
Give an example that shows how to execute a stored procedure in ado.net?
What does ole stand for in excel?
Which is the best method to get two values from the database?
What is ado.net connection?
Explain the difference between data reader and data adapter?
How can you identify whether or not any changes are made to the DataSet object since it was last loaded?
What is data adapter in ado.net with example?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!