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

Define the data provider classes that is supported by ado.net?

979


What is data view and variable view?

910


Explain the architecture of ado.net?

1066


What are the important features of ado.net 2.0?

1073


How is entity framework different from ado.net?

945


What are all the commands used with Data Adapter?

1042


Explain the DataAdapter.Update() and DataSetAcceptChanges() methods.

1014


What is the difference between Datareader and Dataset?

1080


What is ado and dao?

958


What is difference in record set and dataset?

1072


What are the classes in System.Data.Common Namespace?

1149


What are the key features of ado.net?

1195


Explain why edit is not possible in repeater?

1037


What are the different methods available under the sqlcommand class to access the data?

1043


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

967