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 datareaders?

990


Which property is used to check whether a DataReader is closed or opened?

1052


What are good ado.net object to replace to ado recordset object.

1128


What is a data control clerk?

1047


Explain why edit is not possible in repeater?

1053


Explian About DataAdapters

1039


What is full form of ado?

1069


Explain the difference in record set and dataset?

944


What is the difference between dataset and datatable?

1019


How can we save all data from dataset?

1009


What are the namespaces used in ado.net for data access?

989


What are the pre-requisites for connection pooling?

1008


Explain the dataadapter class in ado.net?

1217


What is executenonquery ado.net?

936


What are the different methods by which we can populate a dataset?

1241