asp.net²Ù×÷xmlÎÊÌâ - .NET¼¼Êõ / ASP.NET
ÈçºÎÔÚÒ»¸ö¿ÕxmlÎĵµÀï´´½¨£º
<hhh>
<bbb>
<name>ÕÅɽ</name>
<born>2010-10-13</born>
</bbb>
</hhh>
XML.writ()
XmlTextWriter writer = new XmlTextWriter(FullFileName, System.Text.Encoding.UTF8);
writer.WriteStartElement("bbb");
writer.WriteStartElement("name");
writer.WriteString("ÕÅÈý");
writer.WriteEndElement();
writer.WriteStartElement("born");
writer.WriteString("2010-10-13");
writer.WriteEndElement();
writer.WriteEndElement();
Â¥ÉÏЧÂÊ×î¸ß
¼òµ¥µÄ×ö·¨¿ÉÒÔÓÃXmlDocumentÈ»ºóSave
×¢ÊÍÊÇÎÒ֮ǰµÄ¡£ÎÞÊÓËü
FileStream fs = new FileStream(@"C:\Documents and Settings\Administrator\×ÀÃæ\mytarget.xml", FileMode.Create);
XmlWriter writer = XmlWriter.Create(fs);
writer.WriteStartDocument();
//¸ùÔªËØ£¨Write a root element.£©
writer.WriteStartElement("hhh");
...
writer.WriteEndElement("/hhh");
writer.WriteEndDocument();
writer.Flush();
http://blog.csdn.net/lee576/archive/2008/11/10/3268845.aspx
http://www.68design.net/Development/Aspnet/Basis-AspNet/11369-1.html
ÈçºÎÅжÏ<name>ÕÅɽ</name>½ÚµãÊÇ·ñ´æÔÚ£¬È»ºó
Ïà¹ØÎÊ´ð£º
ÎÒÓÃasp.net¿ª·¢wapÕ¾µã£¬Íê³ÉºóÈ¥http://validator.w3.org/ÕâÀïÑéÖ¤ÎÒµÄWapÒ³ÃæÊÇ·ñ±ê×¼£¬ÆäËüÎÊÌâ¶¼¸ÄºÃÁË£¬
¾ÍÊ£ÕâÒ»¸ö´íÎóÁË£¬°´×ÖÃæÒâ˼Àí½âÊÇ˵nameÊôÐÔÒÑ´æÔÚ£¬ÀàËÆÕâÑùµÄ´íÎó»¹Óв»ÄÜÓÃborder ,align,sizeµ ......
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp.net
ÊìϤjavascript
ÊìϤCss
ÊìϤajax
ÊìϤsqlserver2005
ÓÐÒ»ÄêµÄÏîÄ¿¾Ñé
¾ßÌåÏîÄ¿ºÍÆäËûµÄ¾Í²»ÔÚÕâдÁË
ÓÐÒâÕßÁªÏµ£º
QQ:359233910
ÒýÓÃ
±¾È˹¤×÷¾ÑéÒ»ÄêÒÔÉÏ
ÊìϤasp ......
1.asp.net×öµÄÒ»¸ö´ðÌâÒ³Ãæ£¬ÈçºÎʵʱÏÞʱºó×Ô¶¯Ìá½»£¬Çë´ó¼Ò¸øµã˼·
ÏÞʱµÄʱ¼äÐÅÏ¢´æ·ÅÔÚÊý¾Ý¿âÖÐ
2.Èç¹û´ðÌâʱ¼äÉèÖõĽϳ¤£¬ÈçºÎ·½Ê½session³¬Ê±ºóÒ³ÃæÎÞЧ
лл
ÓÃjs·½·¨À´¿ØÖÆ
»Ø¸´ÄÚÈÝÌ«¶ÌÁË¡£¡£
js ......
ÏÖÔÚÓиöxmlÎļþÊÇ<?xml version="1.0"?>
<?mso-application progid="Excel.Sheet"?>
<Workbook xmlns="urn:schemas-microsoft-com:office:spreadsheet"
xm ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......