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 does executenonquery () method return?

880


How to work with disconnected data - the dataset and sqldataadapter?

934


How to find the given query is optimised one or not?

919


What are the connected and disconnected modes in ado.net?

857


How to add a javaScript function in a datagrid?

1062


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

921


What is the difference between the clone() and copy() methods of the dataset class?

1016


What are disadvantages of microsoft-provided data provider classes in ado.net?

964


Which database is the ado.net sql connection object designed for?

998


What does ado stand for in ado.net?

1005


Define connection string?

1015


What is a data control clerk?

982


What is ado.net objects?

910


How can we load multiple tables in a dataset?

1092


What are the data access namespaces in .NET?

1135