"Generatate DataSet" namespace

S

STech

How can I specify a namespace for the generated dataset class? It picks up
the folder name the xsd is in and adds it to the namespace. I do not want it
to do that.

Thanks in advance.
 
K

Kevin Yu [MSFT]

Hi,

To specify the namespace of the generated DataSet class, you can set it in
file property of the xsd file. Here are the steps:

1. In the Solution Explorer, right click on the .xsd file, and select
properties in the pop-up menu.
2. Specify namespace in the Custom Tool Namespace in the property window.

HTH.

Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."
 
W

Wizzy

Hi STech,

You can use the /n: option while while using the xsd generate tool.

Wizzy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,216
Latest member
topweb3twitterchannels

Latest Threads

Top