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

Describe connection object in ado.net

1099


What are the different execute methods of Ado.Net?

1065


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

1029


What are the rules to implement connection pooling?

1124


What is the full form of ado?

1090


Which namespaces are used for data access?

1272


What is ado connection?

1013


What is different between sqlcommand object and command behavior object?

1129


Name which operations can you not perform on an ado.net dataset?

1044


Is datareader faster than datatable?

1020


What is sqldatareader in ado.net?

970


How do you merge 2 datasets into the third dataset in a simple manner?

1060


Can we connect two dataadapters to same data source using single connection at same time?

1036


Explain the advantages and disadvantages of using datalist?

1117


I loaded the dataset with a table of 10 records. One of the records is deleted from the backend, how do you check whether all the 10 records were present while updating the data(which event and steps) and throw the exception 28 can datareader hold data from multiple tables?

1086