Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What are the benefits of ADO.NET?

1105


Explain the basic use of "dataview" and explain its methods.

978


How to connect and retrieve data from database using dataset

1028


What are the data providers used in ado.net

1008


What is the difference between ADO and ADO.Net?

1067


What are the drawbacks of using ado.net?

957


What is ado oledb and odbc?

921


Give an example that shows how to execute a stored procedure in ado.net?

1058


What does ole stand for in excel?

1131


Which is the best method to get two values from the database?

953


What is ado.net connection?

945


Explain the difference between data reader and data adapter?

953


How can you identify whether or not any changes are made to the DataSet object since it was last loaded?

1018


What is data adapter in ado.net with example?

1007


Can we create Synonymns in MS Acess,My Sql Server,Sql Server? But iam we can create in oracle!

2126