on 11-20-2008 10:10 PM
In order to serialize a class (SystemSetup) and load an XML file into a datatable and then a dataset I must:
1. Create an .XSD file using the XSD SDK tool.
2. DataTable.LoadSchemaFile
3. DataTable.LoadXml
4. Then add the datatable to a dataset.
Is this correct?
Another method using Reflection.
Reflect the SystemSetup class into a datatable.
Push the datatable->dataset to the crystal report.
Will this work?
Which one is preferable? Thx.,
Ajay
NOWHERE can I find the details on how to create a datatable from an XML file. Nor can i find it on these forums.
The current problem is when I use XSD with the /l:VB it converts the entire XML file elements to type string.
Any help will be greatly appreciated.
Sincerely,
Ajay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
74 | |
10 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.