xmldocument

    2熱度

    1回答

    我原來問過這個問題上RefactorMyCode,但沒有得到迴應有... 基本上我只是嘗試了XmlNodeList加載到XmlDocument,我想知道是否有比循環更有效的方法。 Private Function GetPreviousMonthsXml(ByVal months As Integer, ByVal startDate As Date, ByVal xDoc As XmlDocum

    39熱度

    6回答

    下面的代碼應該找到合適的項目標籤,並從XmlDocument的刪除它,但是當我測試了一下,說: 要刪除的節點不是此節點的子。 有沒有人知道這樣做的正確方法? public void DeleteProject (string projectName) { string ccConfigPath = ConfigurationManager.AppSettings["ConfigPath