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 is the role of data provider in ado.net?
Does entity framework use ado.net?
What is executequery?
What is untyped dataset?
Define Execute Reader?
What are the different namespaces used in the project to connect the database? What data providers available in .net to connect to database?
What are the parameters that control most of connection pooling behaviors?
How can we load multiple tables in a dataset?
Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!
What is ambient transaction?
What are the benefits of ADO.NET?
What is the role of clr?
How to copy the contents from one table to another table and how to delete the source table in ado.net?
Which control of the BindingNavigator returns the current position within the data source?
How to check if a datareader is closed or opened? IsClosed()