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

What are all features of ADO.Net?

1041


Which keyword is used to accept variable number of parameters?

1164


How can we load multiple tables in to dataset?

1140


What is the role of clr?

1001


Which name space is used to get assembly details?

1037


What are the various methods provided by the DataSet object to generate XML?

1052


What is difference between datagridview and datagrid control in winforms?

1082


What are the different ado.net namespaces are available in .net?

1062


Explian About DataAdapters

1085


Is it possible to edit data in Repeater control?

1002


What are the parameters that control most of connection pooling behaviors?

1046


Define Execute Reader?

1113


What is the procedure to call a Stored Procedure of Back End in ADO (ActiveX Data Object) and RDO (Remote Data Objects)?

1105


What do you know about ado.net's objects?

1073


What are the drawbacks of using ado.net?

1012