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
What is the difference in record set and dataset?
What is difference in record set and dataset?
Describe the disconnected architecture of ADO.NET’s data access model.
What is the difference between an ADO.NET Dataset and an ADO Recordset?
Does ado.net use odbc?
What are all the classes that are available in System.Data Namespace?
What does sqldatareader return?
differance between ADO vs ADO.Net?
Name which operations can you not perform on an ado.net dataset?
Explain the difference between data reader and data set?
Explain the overview of ado.net architecture?
What are the advantages of using datalist?
Difference between sqlcommand and sqlcommandbuilder?
The answers which posted above is not satisfied my requirement? Can some one post teh exact answer? Thanx
What is the difference between sqlcommand and sqldataadapter?