Results 1 to 4 of 4

Thread: [2.0] Existing XSD and Typed Datasets

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    258

    [2.0] Existing XSD and Typed Datasets

    I have an XSD from a comany that I need to create an XML file from. I want to create a typed dataset in VS2005 C# in order to view properties and have a faster ADO.NET experience.

    When I use "add existing" and select my XSD it imports it into my solution tree and creates an XSX file. I cannot create a dataset from the name of the XSD though. It works fine if I "create new" and chose a dataset. What am I doing wrong?

    Thanks for all your help!
    Currently Using: VS 2005 Professional

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: [2.0] Existing XSD and Typed Datasets

    Does your XSD file contain a valid schema for a DataSet?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    258

    Re: [2.0] Existing XSD and Typed Datasets

    I believe so. I can programatically ReadSchema() on a dataset without issue.
    Currently Using: VS 2005 Professional

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    May 2005
    Posts
    258

    Re: [2.0] Existing XSD and Typed Datasets

    No one has any thoughts on how to do this through the IDE or if it is even possible through the IDE?
    Currently Using: VS 2005 Professional

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width