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 difference in record set and dataset?

996


What is difference in record set and dataset?

1012


Describe the disconnected architecture of ADO.NET’s data access model.

1018


What is the difference between an ADO.NET Dataset and an ADO Recordset?

1010


Does ado.net use odbc?

915


What are all the classes that are available in System.Data Namespace?

977


What does sqldatareader return?

927


differance between ADO vs ADO.Net?

1014


Name which operations can you not perform on an ado.net dataset?

945


Explain the difference between data reader and data set?

892


Explain the overview of ado.net architecture?

967


What are the advantages of using datalist?

977


Difference between sqlcommand and sqlcommandbuilder?

1073


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

1984


What is the difference between sqlcommand and sqldataadapter?

965