![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Junior Member Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 | How to use SqlDataReader as DataSourse to DataGrid? Hi All, This is my first post to this Forum. I want to know is this possible to bind DataGrid Control to SqlDataReader. Bcoz when we use paging concept in DataGrid it gives an error. Plz reply with some solutions. Ashwani |
| | |
| | #2 (permalink) |
| Junior Member Join Date: Sep 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 | Re: How to use SqlDataReader as DataSourse to DataGrid? Yes we can use SQL DataReader for DataGrid what exact Error u r Getting? |
| | |
| | #3 (permalink) |
| Unregistered
Posts: n/a
| Re: How to use SqlDataReader as DataSourse to DataGrid? First u need |
|
| | #4 (permalink) |
| Junior Member Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 4 | Re: How to use SqlDataReader as DataSourse to DataGrid? Thank for looking my problem. the problem is when i set DataGrid's allowpaging propert to true and page size to 5 binding it to SqlDataReader. Then i get an error saying somr\eting for ICollection interface. I just need to display information page wise. Reply |
| | |
![]() |
| Tags |
| datagrid , datasourse , sqldatareader |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| More Interview Questions Here... |