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 current version of entity framework?
What are the different execute methods of Ado.Net?
Define partial class?
What are the advantages and disadvantages of using datalist?
What is ado net stands for?
What is a dataview?
What is dataset and datatable in ado.net?
How to identify the controls which can be used for binding data?
can we create synonymn in ms access,sql server,my sql if so explain me with example
Data reader read and forward only, how is it possible to get 2 tables of data at a time?
What is partial class?
What is a sqldataadapter?
Explain how to call the sql commands asynchronously in ado.net version 2.0?
What is data reader in ado.net?
Explain ado.net features?