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 / suresh jayaraman

for(int
RowsCount=1;RowsCount<dataset.rows.count;RowsCount++)
{
if(RowsCount>10 && RowsCount<20)
{
//if you GirdView or DataGrid
Gridview1.DataSource=dataset;
GridView1.DataBind()

}
}

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to edit data in Repeater control?

938


List all the steps in order, to access a database through ado.net?

1062


What is the difference between SqlCommand and SqlCommandBuilder?

1052


What is dataset and datatable in ado.net?

970


What is the maximum pool size in ado.net connection string?

926


What is the procedure to call a Stored Procedure of Back End in ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

1036


What is difference between connected and disconnected architecture in ado.net?

1138


How will you fill the gridview by using datatable object at runtime?

1028


What is sqldatasource?

911


What is the difference between statement and preparedstatement interface?

984


What does executequery return?

948


What is difference between dataset and datatable?

1145


Compare Data Reader & Dataset in ado.net?

976


The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx

2002


What is an ado?

963