1
Cách đặt thuộc tính qua XEuity
Tôi có mã này: XElement EcnAdminConf = new XElement("Type", new XElement("Connections", new XElement("Conn"), // Conn.SetAttributeValue("Server", comboBox1.Text); // Conn.SetAttributeValue("DataBase", comboBox2.Text))), new XElement("UDLFiles"))); // Conn. Làm cách nào để thêm thuộc tính vào Conn? Tôi muốn thêm các thuộc tính tôi đã đánh dấu là nhận xét, nhưng nếu tôi cố gắng …
126
c#
xml
linq-to-xml