Re: Could not add an instance of <dataset> to the designer
From: John Saunders (johnwsaundersiii)
Date: 10/31/04
- Next message: Roy Fine: "Re: Enumerate all Oracle databases on the net"
- Previous message: Grzegorz Danowski: "Re: Sharing an OLE DB connection between MDI Parent and Children"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 31 Oct 2004 16:45:16 -0500
Axel, you're not alone :-(
"Axel Huensche" <axel@huensche.vispa.com> wrote in message
news:eScVhG$qEHA.1152@TK2MSFTNGP11.phx.gbl...
> Hi there, thanks for reply, Iwas following the walkthrough from the Help
> in Visual Studio .... see below
>
...
> To add a dataset to the form
>
> In Solution Explorer, double-click the WebForm1.aspx file to select the
> Web Forms page.
> On the View menu, click Toolbox.
> Drag a DataSet from the Data tab of the Toolbox onto the Web Forms
> Designer surface.
> The Add DataSet dialog box appears.
>
> If it is not already selected, select TypedDataSet.
> Select the name of the dataset (MyWebForm.myDataSet) from the drop-down
> list and click OK.
> This adds a dataset, myDataSet1, to the nonvisual part of the Web Forms
> Designer surface.
>
> ---- At this stage I get the error I mentioned earlier, hope this makes
> a bit clear
> many thanks in advance
I just got this error when trying to drag a DataSet onto a Web Form. The
Typed DataSet was part of another project in the same solution. This second
project _is_ referenced by the first (web) project. This is proven by the
fact that I can declare a variable of the type of this DataSet!
But the designer doesn't like it. I'd sure like to be able to reference a
typed dataset from another project in the solution, so that I don't have to
duplicate the .xsd file in every project that references it!
If anyone has any idea, please let me know ASAP, as this code is due Monday.
John Saunders
- Next message: Roy Fine: "Re: Enumerate all Oracle databases on the net"
- Previous message: Grzegorz Danowski: "Re: Sharing an OLE DB connection between MDI Parent and Children"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|