G
Guest
Something doesn't make sense here.
I create a class library containing a typed dataset containing a single
simple SQLServer table. When I build it, and reference this in a new ASP.NET
project, I can use the ObjectDataSource to find the right object, link to my
DataSet1, and using the TableAdapter source displayed, select the getData()
function. When I display default.aspx, the table data displays as expected.
Now for a Windows form. As ObjectDataSource candidates, I have both a
DataTableBindingSource and a TableAdapterSource. The latter is useless,
setting "ClearBeforeFill as a column name. The DataTableBindingSource sets
up the correct columns, but when I display there is no data.
Why is the Windows form so different, and is it possible to use typed data
sets from a different project on Windows forms?
Thanks,
I create a class library containing a typed dataset containing a single
simple SQLServer table. When I build it, and reference this in a new ASP.NET
project, I can use the ObjectDataSource to find the right object, link to my
DataSet1, and using the TableAdapter source displayed, select the getData()
function. When I display default.aspx, the table data displays as expected.
Now for a Windows form. As ObjectDataSource candidates, I have both a
DataTableBindingSource and a TableAdapterSource. The latter is useless,
setting "ClearBeforeFill as a column name. The DataTableBindingSource sets
up the correct columns, but when I display there is no data.
Why is the Windows form so different, and is it possible to use typed data
sets from a different project on Windows forms?
Thanks,