1 StringBuilder xml = new StringBuilder();
2 xml.Append("<Benutzer>");
3 xml.Append("<qq>" + qq + "</qq>");
4 xml.Append("<religion>" + religion + "</religion>");
5 xml.Append("<blood>" +blut + "</blood>");
6 xml.Append("<aboutme>" + aboutme + "</aboutme>");
7 xml.Append("</user>");
8 Benutzer.Xml = xml.ToString();
按照下面的代码写,是正常的.为什么?传说中的BUG?
Users.Xml = „<user><qq>“ + qq + „</qq><religion>“ + religion + „</religion><blood>“ + Blut + „</blood><aboutme>“ + aboutme + "</aboutme></user>";
Quelle: ASP.NET 2.0, WIN2003