Hi Eric,
I did notice that yes but I can't get it to work with anyting other than a database!
If fill a dataset from SQL Server and then wite the XSD I can use it in the report - it shows under ADO.Net Datasets. If I populate the dataset manually and then write the XSD I can't use it in the report - it doesn't show under ADO.Net Datasets.
One other thing I can tell you is that if I add both XSD's to my project (coming from the db and the one not coming from the db), their icons look different!
Please see attached screenshot showing the different icons.
The XSD coming from the database which works well is called "Frikkie.XSD" and the one that I populated manually that does not work at all is called "ReportDataTableDefition.X
I must be doing something wrong with one the 2nd XSD....
Any ideas?
Thanks
Main Topics
Browse All Topics





by: emoreauPosted on 2009-05-03 at 08:22:15ID: 24290135
>>This works great if the dataset and XSD comes from a database. But now I need to pass a dataset that does not come from a database.
If you look at my example, you should see that the dataset is not created from the database. I have no connection to any database in this article.
Search for WriteXmlSchema in the page.