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

What is the current version of entity framework?

1017


What are the different execute methods of Ado.Net?

1059


Define partial class?

1025


What are the advantages and disadvantages of using datalist?

1145


What is ado net stands for?

1009


What is a dataview?

1032


What is dataset and datatable in ado.net?

1041


How to identify the controls which can be used for binding data?

1044


can we create synonymn in ms access,sql server,my sql if so explain me with example

2143


Data reader read and forward only, how is it possible to get 2 tables of data at a time?

960


What is partial class?

1022


What is a sqldataadapter?

1054


Explain how to call the sql commands asynchronously in ado.net version 2.0?

977


What is data reader in ado.net?

1050


Explain ado.net features?

1102