Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > binding ObjectDataSource to a VS.NET Dataset doesn't work ???

Thread Tools

binding ObjectDataSource to a VS.NET Dataset doesn't work ???
Posts: n/a

I want to bind an ObjectDataSource to a VS.NET Dataset but it doesn't
here's what i do:

- I add a new DataSet (ProductsDs) to the App_Code folder of the web-
- I run the tableAdapter wizard and specify connection, Sql-
statements and stuff ... and press Finish
- several files are created in the App-Code - folder (ProductDs.xsd,
ProductDs.Designer.cs, ...)
- I save everything

- I add an ObejctDataSource to the webform, choose "Configure Data
Source" but the "Choose your business object" combobox is empty ?

i read somewhere that saving the dataSet-code compiles it and makes it
available to the webpages, and code is added in Page_Load()
I don't see anything of this happen

what am i missing here?

thank you
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Binding Typed DataSet with ObjectDataSource =?Utf-8?B?cm9kY2hhcg==?= ASP .Net 0 09-26-2006 01:41 PM
Binding tables interesection with GridView/ObjectDataSource [newbie] H5N1 ASP .Net 0 03-27-2006 03:34 AM
ObjectDataSource method as another ObjectDataSource David Thielen ASP .Net Web Controls 3 03-23-2006 01:50 AM
2.0 binding ObjectDataSource to Dataset GaryDean ASP .Net 3 01-10-2006 07:02 AM
How to programmatically access ObjectDataSource values (instead of binding to data controls) ASP .Net 2 06-28-2005 07:59 PM