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

Explain how to create dynamic gridview?

966


What is the difference between ado.net and oledb?

940


How to add an aggregate column?

1004


What is Serialization in .NET? what are the types of Serialization?

1068


What are the major challenges in accessing data from a database?

1018


What are the essential features of ado.net?

947


What does executereader return?

964


What are the namespaces used in ado.net for data access?

976


What is a column variable?

932


Which is faster datareader or dataadapter?

982


How to copy the contents from one table to another table and how to delete the source table in ado.net?

1030


What is XML serialization

1045


What is DataReader Object?

1034


What is ole word?

942


How does ado.net work?

915