G
Guest
I'm building my first major C# WinForms application. I've successfully
completed the forms and the data model and they work great. Now I'm moving
on to saving/opening the data model to/from the hard drive.
In my VB6 past I've almost exclusively used MDB files for this purpose but
I'm thinking that XML would be a simpler, better solution for this
application. So I tried using "XMLSerialization" but it failed. I'm not
really sure why but am guessing because my data model doesn't comply with all
the restrictions it imposes.
So today I've been reading about standard XML formats. It all seems
straightforward and I'm ready to start coding. But I'm wondering if there is
a tool within or without of Visual Studio that will simply take my data model
(a complex class) and produce the XML data and/or an XML schema?
Any other advice or articles on this would be appreciated too.
completed the forms and the data model and they work great. Now I'm moving
on to saving/opening the data model to/from the hard drive.
In my VB6 past I've almost exclusively used MDB files for this purpose but
I'm thinking that XML would be a simpler, better solution for this
application. So I tried using "XMLSerialization" but it failed. I'm not
really sure why but am guessing because my data model doesn't comply with all
the restrictions it imposes.
So today I've been reading about standard XML formats. It all seems
straightforward and I'm ready to start coding. But I'm wondering if there is
a tool within or without of Visual Studio that will simply take my data model
(a complex class) and produce the XML data and/or an XML schema?
Any other advice or articles on this would be appreciated too.