none
object reference not set instance to instanc of object RRS feed

  • Question

  • when i am trying to open .xsd file of dataset it gives me error:object reference not set instance to  instanc of object
    Tuesday, October 8, 2013 8:39 AM

Answers

  • xsd is a schema and has to be compatible with the XML file you are using. I usually save my dataset to an XML file and use the setting WriteSchema as shown below which embeds the schema into the XML rather than store it into a seperate file.  the ReadXML method will automatically recognize the embedded schema.

                table.WriteXml(filename, XmlWriteMode.WriteSchema


    jdweng

    Tuesday, October 8, 2013 9:16 AM