Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-02-17 : 15:18:24
|
Im using VB.net for windows forms. Is it possible to fill a datagrid from a sqldatreader since this later is fast. If so how pls,Thanks |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-02-17 : 15:29:25
|
Yes. Just set the datasource to the sqlDataReader and then databind. |
 |
|
rtutus
Aged Yak Warrior
522 Posts |
Posted - 2006-02-17 : 18:19:54
|
This is the message I get when I try to set the datasource property of the Datagrid to the datareader:error:Additional information: Complex DataBinding accepts as a data source either an IList or an IListSourceTake care |
 |
|
|
|
|