Typed Dataset

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I'm trying to generate a typed dataset and it failed
That's what I'm doing
I'm dragging the table from the server explore into the new xsd file. the new class (typed dataset) is created (i see it in the folder)
when i try to add this class to the project nothing happens: neither error pops up nor file added to the project

What do I do wrong

The environment: VS 2003 and SQL Serve
Thanks.
 
Hi Mark,

What should happen?
To create an instance of dataset:
You have to add dataset (in your way) through toolbox/dataset - drag a
dataset on the form and you'll be ask which dataset type should it create.

--
Miha Markic [MVP C#] - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

Mark G said:
Hi,

I'm trying to generate a typed dataset and it failed.
That's what I'm doing:
I'm dragging the table from the server explore into the new xsd file. the
new class (typed dataset) is created (i see it in the folder).
when i try to add this class to the project nothing happens: neither error
pops up nor file added to the project.
 
Hi

I'm gonna use the generated class in some other classes, and I expected to see the class in the project's file tree, but I don't
I just can't add this file into the project

So, once again
1. I'm dragging the table from the server explorer into the xsd file, as the result a corresponding class generated
2. I'm trying to add the generated file to the project, and nothing happens

Are my expections wrong

Thanks in advance
Mark
 
Add xsd file to project and set its Custom Tool to MSDataSetGenerator.
Btw, it would be better if you first add a blank dataset to project and drag
your adapter there.

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Mark G said:
Hi,

I'm gonna use the generated class in some other classes, and I expected to
see the class in the project's file tree, but I don't.
I just can't add this file into the project.

So, once again:
1. I'm dragging the table from the server explorer into the xsd file, as
the result a corresponding class generated.
 
Add xsd file to project and set its Custom Tool to MSDataSetGenerator.

Showing off your smarts again Miha? Simpletons like me just "Add New
Item..." of type Data Set. ;)
Btw, it would be better if you first add a blank dataset to project and drag
your adapter there.

How do you do that?

Brad Williams
 
Back
Top