Can a DataReader be used as a DataSource for a GridView.
If it is so how will you handle paging.
Answer Posted / rahul singhal
yes u can use data reader to fill gridview with while
function. and paging depends upon the datagrid property. if
u use custom paging there in no possibility with data
reader. u will have to use data table to fill data grid and
data table should be filled through data reader.
| Is This Answer Correct ? | 9 Yes | 1 No |
Post New Answer View All Answers
How to find the given query is optimised one or not?
What is aggregate root?
What is partial class?
Define table relations?
What are the classes in System.Data.Common Namespace?
What is the difference between Data adaptor and Data set?
What are three methods for displaying data in a syncfusion datagrid
What are the features of ado.net?
What are the key features of ado.net?
What is the meaning of object pooling?
What do you mean by performing asynchronous operation using command object?
Which is faster entity framework or ado.net?
Define executenonquery?
What is the difference between dataset and datatable?
Explain the advantage of ADO.Net?