Thursday, June 14, 2012

how to write xml through datatable


write xml through datatable


StringWriter writer = new StringWriter();
        dt.WriteXml(writer, XmlWriteMode.WriteSchema, true);
        string str = writer.ToString();

No comments:

Post a Comment