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 does ado stand for in ado.net?

1106


Describe connection object in ado.net

1050


Does entity framework use ado.net?

989


Explain why canot we use multiple inheritance and garbage collector paralelly in .net?

1021


What is the use of connection object in ado.net?

1059


What are the steps to connect to a database?

1024


What is the use of data grid?

961


What is difference between datatable and dataset?

1064


What is Dataset Object?

1009


How to identify the controls which can be used for binding data?

1000


What are the steps you will take to improve performance?

896


Which keyword is used to accept variable number of parameters?

1128


What is the difference between Command and CommandBuilder object?

1246


What is connection pooling and what is the maximum pool size in ado.net connection string?

946


What is execute reader in ado.net?

964