binding ObjectDataSource to a VS.NET Dataset doesn't work ???
Tech-Archive recommends: Fix windows errors by optimizing your registry
Hi,
I want to bind an ObjectDataSource to a VS.NET Dataset but it doesn't
work.
here's what i do:
- I add a new DataSet (ProductsDs) to the App_Code folder of the web-
project
- 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
Chris
.
Relevant Pages
- Re: GridView - ObjectDataSource NOT retrieving records
... DataObjectTypeName properties of the ObjectDataSource. ... "Randy Smith" wrote: ... The DAL in that demos website is a VS generated dataset named Samples.xsd ... file) to the bin folder on the web application (by adding a reference to ... (microsoft.public.dotnet.framework.aspnet) - Re: how to rebind a dropdownlist within a listview
... the first one outside the ListView ... EditItemTemplate is to bind the DropDownList. ... DropDownList's options when the Category RadioButtonList's selection is ... DropDownList is binding with not only an ObjectDataSource by the ... (microsoft.public.dotnet.framework.aspnet) - Re: GridView - ObjectDataSource NOT retrieving records
... The DAL in that demos website is a VS generated dataset named Samples.xsd ... file) to the bin folder on the web application (by adding a reference to ... but I do have a few questions about your ObjectDataSource. ... VS2003 where you do not have to put your datamappers in the App_Code ... (microsoft.public.dotnet.framework.aspnet) - RE: ObjectDataSource, GridView and ItemTemplate
... It seems that the Bind method must be used within ... "Phillip Williams" wrote: ... the GridView using either Bind or Eval. ... The use of the ObjectDataSource is what makes this possible. ... (microsoft.public.dotnet.framework.aspnet.webcontrols) - Re: GridView - ObjectDataSource NOT retrieving records
... DataObjectTypeName properties of the ObjectDataSource. ... "Randy Smith" wrote: ... For the purpose of my website where the demos do not have real business ... file) to the bin folder on the web application (by adding a reference ... (microsoft.public.dotnet.framework.aspnet) |
|