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...

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


Please Help Members By Posting Answers For Below Questions

How to find the given query is optimised one or not?

914


What is aggregate root?

997


What is partial class?

919


Define table relations?

920


What are the classes in System.Data.Common Namespace?

1085


What is the difference between Data adaptor and Data set?

974


What are three methods for displaying data in a syncfusion datagrid

1012


What are the features of ado.net?

948


What are the key features of ado.net?

1125


What is the meaning of object pooling?

1124


What do you mean by performing asynchronous operation using command object?

967


Which is faster entity framework or ado.net?

875


Define executenonquery?

860


What is the difference between dataset and datatable?

933


Explain the advantage of ADO.Net?

936