Results 1 to 4 of 4

Thread: How is DataSet.xsd used in any particular website

  1. #1
    Join Date
    Feb 2009
    Posts
    66

    How is DataSet.xsd used in any particular website

    I use Visual studio datasets to create table adapters etc. for queries. This normally works fine for me with 'simple' queries (i.e. only 1 parameter of type string, int ...). I am looking at the club web site now and I do not understand how do they use the datasets to their web site.

  2. #2
    Join Date
    Feb 2008
    Posts
    180

    Re: How is DataSet.xsd used in any particular website

    You need to use Typed DataSets for this, you can add new typed dataset to your project, right click project New Item and select (Typed)Dataset. The main advantage of putting multiple tables in one XSD is to take advantage of parent-child relationships. When I use datasets (and I don't much anymore) I typically group my data into logical groups of about 5-6 tables (not a hard limit) and go from there. A typed DataSet is not a built-in member of the .NET Framework. As you will discover, it is a generated class that inherits directly from the DataSet class.

  3. #3
    Join Date
    Feb 2006
    Posts
    159

    Re: How is DataSet.xsd used in any particular website

    Strongly typed DataSets are merely generic DataSets that have their columns and tables defined in advance, so the compiler already knows what they will contain. I'm not quite sure what you're trying to accomplish with your query, Any larger classes and it makes the data less portable since you end up with a lot of tables that aren't always necessary.Each version of Visual Studio has made the process of strongly typing a DataSet easier, and Visual Studio 2005.

  4. #4
    Join Date
    Oct 2008
    Posts
    134

    Re: How is DataSet.xsd used in any particular website

    If you have used DataSet Typed then you would have <custom>.xsd. but it sounds to me like you can use a subquery. Can you explain what format your table has and what output do you expect? In your case DataSet.xsd. It is very useful to Crystal Reports and other stuffs. I either use an OR Mapper like Wilson OR Mapper or NHibernate, or I use the new LINQ-to-SQL feature of .NET 3.5 (visual Studio 2008).

Similar Threads

  1. Dataset vs DataReader in .Net
    By Vireshh in forum Software Development
    Replies: 3
    Last Post: 07-05-2011, 11:32 AM
  2. How to create a new DataSet
    By Leonard in forum Windows Software
    Replies: 5
    Last Post: 23-03-2010, 08:52 AM
  3. How to use dataset in ASP.Net?
    By Roxy_jacob in forum Software Development
    Replies: 3
    Last Post: 28-11-2009, 06:13 PM
  4. Problem of a typed DataSet
    By supernoob in forum Software Development
    Replies: 4
    Last Post: 28-10-2009, 11:40 PM
  5. Working with XML and DataSet
    By Aanand in forum Software Development
    Replies: 3
    Last Post: 01-05-2009, 02:38 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,004,844.81398 seconds with 16 queries