R
ray well
i saved the state of a data set and table via
MyDs.WriteXmlSchema("MyDs.xsd")
MyDs.WriteXml("MyDs.xml")
i was able to read them back in and display the info in the database by
MyDs.ReadXmlSchema("MyDs.xsd")
MyDs.ReadXml("MyDs.xml")
i put the 2 files into my project resources and named them Descrip and Info,
but when i tried reading them back thru
MyDs.ReadXmlSchema(My.Resources.Descrip)
MyDs.ReadXml(My.Resources.Info)
i get the error 'Illegal characters in path'
i'm assuming it is because ReadXml expects a filename, which
'My.Resources.Descrip' is not. i was able to read in the text of
'My.Resources.Descrip' into a text box, so the content is there.
how can i make this work?
thanks
ray
MyDs.WriteXmlSchema("MyDs.xsd")
MyDs.WriteXml("MyDs.xml")
i was able to read them back in and display the info in the database by
MyDs.ReadXmlSchema("MyDs.xsd")
MyDs.ReadXml("MyDs.xml")
i put the 2 files into my project resources and named them Descrip and Info,
but when i tried reading them back thru
MyDs.ReadXmlSchema(My.Resources.Descrip)
MyDs.ReadXml(My.Resources.Info)
i get the error 'Illegal characters in path'
i'm assuming it is because ReadXml expects a filename, which
'My.Resources.Descrip' is not. i was able to read in the text of
'My.Resources.Descrip' into a text box, so the content is there.
how can i make this work?
thanks
ray