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 difference between datagridview and datagrid control in winforms?
What does datareader object do?
What are different layers of ADO.Net?
oledbdataadpter with ms access in c#.net giving exception System.Data.OleDb.OleDbException while writing adapter.update(dataset,"tabname"); how to update the database from dataset?
What is a datareader object?
What DataReader class do in ADO.NET ?
What is the usage of the dataset object in ado.net?
What is ado and dao?
What are dcl commands?
What is executenonquery ado.net?
What are the parameters that control most of connection pooling behaviours?
What is the meaning of executenonquery?
What is an example of ordinal data?
What is ole2 format?
Does entity framework use ado.net?