T
tshad
I am using VS 2003 and trying to build a standalone application. I have
been writing all my asp.net work using DW and am just now trying to build a
application that will read some of the tables I had written out from my web
apps.
I can get my DataReader to read my data fine. But I wanted to use a
DataGrid, but it is apparently completely different????
I can do:
DataGrid1.DataSource = dbReader
DataGrid1.DataBind()
I get an error saying something about: "Complex DataBinding accepts as a
data source either an IList or an IListSource".
There also doesn't seem to be a DataBind() method to this DataGrid?
Why doesn't it work?
Can I not make a standalone program using the same techniques as I do in my
Web pages (asp.net)?
Thanks,
Tom
been writing all my asp.net work using DW and am just now trying to build a
application that will read some of the tables I had written out from my web
apps.
I can get my DataReader to read my data fine. But I wanted to use a
DataGrid, but it is apparently completely different????
I can do:
DataGrid1.DataSource = dbReader
DataGrid1.DataBind()
I get an error saying something about: "Complex DataBinding accepts as a
data source either an IList or an IListSource".
There also doesn't seem to be a DataBind() method to this DataGrid?
Why doesn't it work?
Can I not make a standalone program using the same techniques as I do in my
Web pages (asp.net)?
Thanks,
Tom