I am a beginner with C# and I am trying to use datasets. I have been tiring to find some good books on how to use xsd or dataset class in VS2005 and haven’t' found much like this. Does anyone know of good examples or books I can buy that has this information. I understand Datasets (limited) but xsd just are confusing.
Any help appreciated

How do I use XSD in 2005
Carlos Junquera Cachero
OK, so it's data from SQL Server, so you're saving it as XML I'm trying to work out
a. why you want to validate it with an XSD and
b. why you don't trust the data to be valid to start with
rbellamy
So, you have written an XSD and you want to use it to validate a datatable, or a dataset Is the source for the data in the tables XML
Betty Kelly
Understand what one does, but now idea how to implement it into code after I have created one.
yosonu
A dataset is a collection of tables. An XSD is an XML schema. Datasets can be populated from XML, I believe, but I'm not entirely sure what it is you're trying to do with the two An XSD will let you validate XML data, that is all.
Tej
Kelo
I do trust the data. I am using the dataset class to create a strong dataset with relationships. Also One of the queries I am using is quite complex so I thought I would design it in the Dataset class as a DataAdapter.
JFoushee
I’d like to validate a xml string against a xsd string. To make is possible to use this code for every input, I don’t want to use a hard coded target namespace, e.g. urn:bookstore-schema. How can I retrieve the target namespace out of the XSD string In stead of manipulating the string, I wonder if it is possible to do this by using the existing API.
string xmlInput
string xsdInput
XmlSchemaSet sc = new XmlSchemaSet();
sc.Add(urn:bookstore-schema), XmlReader.Create(new StringReader(xsdInput));
// Set the validation settings.
XmlReaderSettings settings = new XmlReaderSettings();
settings.ValidationType = ValidationType.Schema;
settings.Schemas = sc;
settings.ValidationEventHandler += new
ValidationEventHandler(ValidationCallBack);
.....