Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I have an xml schema file in my project called MySchema.xsd, but I can't figure out how to access it.

 

What I want to do is load it, fill it with data, then save it, but I can't even figure out how to reference "MySchema" since it doesn't show up in the intellisense anywhere. Am I doing something wrong?

  • Administrators
Posted

If you add the schema to a project, open the schema up and right click on it - there should be a menu option to generate a dataset - that will allow you to use the schema as a strongly typed dataset.

If you wish to avoid going the dataset route then open up a command prompt and there is a utility XSD.EXE that is installed, XSD /? should get you started.

Posting Guidelines FAQ Post Formatting

 

Intellectuals solve problems; geniuses prevent them.

-- Albert Einstein

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...