Go Back   TechArena Community > Software > Software Development
Become a Member!
Forgot your username/password?
Tags Active Topics RSS Search Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #2  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #3  
Old 25-09-2009
Member
 
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.
Reply With Quote
  #4  
Old 25-09-2009
Member
 
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).
Reply With Quote
Reply

  TechArena Community > Software > Software Development
Tags: , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "How is DataSet.xsd used in any particular website"
Thread Thread Starter Forum Replies Last Post
Dataset vs DataReader in .Net Vireshh Software Development 3 07-05-2011 11:32 AM
How to create a new DataSet Leonard Windows Software 5 23-03-2010 08:52 AM
How to use dataset in ASP.Net? Roxy_jacob Software Development 3 28-11-2009 06:13 PM
Problem of a typed DataSet supernoob Software Development 4 28-10-2009 11:40 PM
Working with XML and DataSet Aanand Software Development 3 01-05-2009 02:38 PM


All times are GMT +5.5. The time now is 06:25 AM.