Re: Could not add an instance of <dataset> to the designer

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: John Saunders (johnwsaundersiii)
Date: 10/31/04


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



Relevant Pages

  • Referencing rows to columns
    ... by clicking the box until the + sign shows and dragging downward to ... when copying a formula along the y axis (via the above ... naturally makes changes such that a reference to A4 becomes A5, A6, ... etc as I copy the formula vertically using this same "click and drag" ...
    (microsoft.public.excel.misc)
  • Re: Table addressing
    ... Drag Source to the Field area ... right click on any cell within the PT>Table Options>Page Layout>Over then Down ... Product Name Price Weight Rating Source ... I would like a symbolic reference that involves the ...
    (microsoft.public.excel)
  • Re: formula series (newbie)
    ... I just want to drag and fill the reference formula down from row 1 to row 3. ... drag and fill I'll ref the cell in sheet 2 manually. ... In are the ref cells in sheet2 that I've entered the formula manually ...
    (microsoft.public.excel.worksheet.functions)
  • RE: Conditional Formating
    ... it replaces the contents of the cell. ... formula to drag and paste not the contents of the cell. ... the different reference styles. ... I want to repeat this same rule to adjacent columns, ...
    (microsoft.public.excel.misc)
  • Re: Compiling VICE in VS dot net 2.0
    ... paste - you must drag and drop. ... When you open up VS you should be able to see it in the object browser. ... If you can't you need to set a reference to it. ... selection of code templates given to .net C++ programs. ...
    (comp.emulators.cbm)