writexml

    4熱度

    1回答

    System.Author Windows屬性是多值字符串。 Windows搜索將此值作爲DataColumn中的字符串數組返回。 (該列的數據類型爲string[]或String()。)當我在生成的數據表上調用WriteXML方法時,出現以下InvalidOperationException異常。 有沒有辦法指定數據表的xml序列化器用於特定的列或特定的數據類型? 基本上,我怎樣才能使Write

    0熱度

    2回答

    public static void writeXmlFile(Document doc, String filename) { try { // Prepare the DOM document for writing Source source = new DOMSource(doc); // Prepare the output file