Oberon's Legacy</title" /> <link rel="shortcut icon" href="https://global.cnd.aidufei.com/15840476/template/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="https://global.cnd.aidufei.com/cms/lib/layui/css/layui.css"> <link rel="stylesheet" type="text/css" href="https://global.cnd.aidufei.com/cms/web/default/css/main.css"> <link rel="stylesheet" href="https://global.cnd.aidufei.com/cms/lib/css/markdown.css"> <script src="https://global.cnd.aidufei.com/cms/lib/js/jquery.min.js"></script> <script src="https://global.cnd.aidufei.com/cms/lib/js/global.min.js"></script> <style></style></head> <body class="micronews"> <div class="micronews-header-wrap"> <div class="micronews-header w1000 layui-clear"> <h1 class="logo"> <a href="http://www.14study.cn/"> <img src="https://global.cnd.aidufei.com/15840476/template/1151629637676306432.png" alt="一起学习网"> <span class="layui-hide">一起学习网</span> </a> </h1> <p class="nav"> <a href="http://www.14study.cn/newslist/php.html">PHP</a> <a href="http://www.14study.cn/newslist/javascript.html">JavaScript</a> <a href="http://www.14study.cn/newslist/python.html">Python</a> <a href="http://www.14study.cn/newslist/mysql.html">Mysql</a> <a href="http://www.14study.cn/newslist/1148616071373262848.html">开发</a> <a href="http://www.14study.cn/newslist/1148615924950110208.html">运维</a> <a href="http://www.14study.cn/newslist/1148615821338218496.html">前端</a> </p> <div class="menu-icon"> <i class="layui-icon layui-icon-more-vertical"></i> </div> <div class="mobile-nav"> <ul class="layui-nav" lay-filter=""> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/php.html">PHP</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/javascript.html">JavaScript</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/python.html">Python</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/mysql.html">Mysql</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/1148616071373262848.html">开发</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/1148615924950110208.html">运维</a></li> <li class="layui-nav-item"><a href="http://www.14study.cn/newslist/1148615821338218496.html">前端</a></li> </ul> </div> </div> </div> <div class="micronews-container micronews-details-container w1000"> <div class="layui-fluid"> <div class="layui-row"> <div class="layui-col-xs12 layui-col-sm12 layui-col-md12"> <div class="_15njy1rctqoi"></div> <script type="text/javascript">(window.slotbydup =window.slotbydup ||[]).push({id:"u6997565",container:"_15njy1rctqoi",async:true });</script> <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer"></script> </div> </div> <br /> </div> <div class="layui-fluid"> <div class="layui-row"> <div class="layui-col-xs12 layui-col-sm12 layui-col-md12"> <div class="main"> <div class="title"> <h1>XML 增、删、改和查示例</h1> <div class="b-txt"> <span class="label">网络编程</span> <span class="icon message tags"> <i class="layui-icon layui-icon-dialogue"></i> XML,增、删、改和查示例 </span> <span class="icon time tags"> <i class="layui-icon layui-icon-log"></i> 06-18 </span> </div> </div> <div class="article"> <DIV class=postText><P>1.已知有一个XML文件(bookstore.xml)如下: </P><P><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P><?xml version="1.0" encoding="gb2312"?><BR><bookstore><BR>  <book genre="fantasy" ISBN="2-3631-4"><BR>    <title>Oberon's Legacy</title><BR>    <author>Corets, Eva</author><BR>    <price>5.95</price><BR>  </book><BR></bookstore><BR></P></TD></TR></TBODY></TABLE></P><P><br><br>  1、往<bookstore>节点中插入一个<book>节点:<br><br></P><P><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P>   XmlDocument xmlDoc=new XmlDocument();<BR>   xmlDoc.Load("bookstore.xml");<BR>   XmlNode root=xmlDoc.SelectSingleNode("bookstore");//查找<bookstore><BR>   XmlElement xe1=xmlDoc.CreateElement("book");//创建一个<book>节点<BR>   xe1.SetAttribute("genre","李赞红");//设置该节点genre属性<BR>   xe1.SetAttribute("ISBN","2-3631-4");//设置该节点ISBN属性<br><br>   XmlElement xesub1=xmlDoc.CreateElement("title");<BR>   xesub1.InnerText="CS从入门到精通";//设置文本节点<BR>   xe1.AppendChild(xesub1);//添加到<book>节点中<BR>   XmlElement xesub2=xmlDoc.CreateElement("author");<BR>   xesub2.InnerText="候捷";<BR>   xe1.AppendChild(xesub2);<BR>   XmlElement xesub3=xmlDoc.CreateElement("price");<BR>   xesub3.InnerText="58.3";<BR>   xe1.AppendChild(xesub3);<br><br>   root.AppendChild(xe1);//添加到<bookstore>节点中<BR>   xmlDoc.Save("bookstore.xml");<BR></P></TD></TR></TBODY></TABLE></P><P><BR>  //================<BR>  结果为:<br><br></P><P><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P><?xml version="1.0" encoding="gb2312"?><BR><bookstore><BR>  <book genre="fantasy" ISBN="2-3631-4"><BR>    <title>Oberon's Legacy</title><BR>    <author>Corets, Eva</author><BR>    <price>5.95</price><BR>  </book><BR>  <book genre="李赞红" ISBN="2-3631-4"><BR>    <title>CS从入门到精通</title><BR>    <author>候捷</author><BR>    <price>58.3</price><BR>  </book><BR></bookstore><BR></P></TD></TR></TBODY></TABLE></P><P><BR>2、修改节点:将genre属性值为“李赞红“的节点的genre值改为“update李赞红”,将该节点的子节点<author>的文本修改为“亚胜”。<br><br><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P>    XmlNodeList nodeList=xmlDoc.SelectSingleNode("bookstore").ChildNodes;//获取bookstore节点的所有子节点<BR>   foreach(XmlNode xn in nodeList)//遍历所有子节点<BR>   {<BR>    XmlElement xe=(XmlElement)xn;//将子节点类型转换为XmlElement类型<BR>    if(xe.GetAttribute("genre")=="李赞红")//如果genre属性值为“李赞红”<BR>    {<BR>     xe.SetAttribute("genre","update李赞红");//则修改该属性为“update李赞红”<br><br>     XmlNodeList nls=xe.ChildNodes;//继续获取xe子节点的所有子节点<BR>     foreach(XmlNode xn1 in nls)//遍历<BR>     {<BR>      XmlElement xe2=(XmlElement)xn1;//转换类型<BR>      if(xe2.Name=="author")//如果找到<BR>      {<BR>       xe2.InnerText="亚胜";//则修改<BR>       break;//找到退出来就可以了<BR>      }<BR>     }<BR>     break;<BR>    }<BR>   }<br><br>   xmlDoc.Save("bookstore.xml");//保存。<BR></P></TD></TR></TBODY></TABLE><br><br>  //=================<br><br>  最后结果为:<br><br><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P><?xml version="1.0" encoding="gb2312"?><BR><bookstore><BR>  <book genre="fantasy" ISBN="2-3631-4"><BR>    <title>Oberon's Legacy</title><BR>    <author>Corets, Eva</author><BR>    <price>5.95</price><BR>  </book><BR>  <book genre="update李赞红" ISBN="2-3631-4"><BR>    <title>CS从入门到精通</title><BR>    <author>亚胜</author><BR>    <price>58.3</price><BR>  </book><BR></bookstore><BR></P></TD></TR></TBODY></TABLE><br><br>  3、删除 <book genre="fantasy" ISBN="2-3631-4">节点的genre属性,删除 <book genre="update李赞红" ISBN="2-3631-4">节点。<br><br><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P>XmlNodeList xnl=xmlDoc.SelectSingleNode("bookstore").ChildNodes;<br><br>   foreach(XmlNode xn in xnl)<BR>   {<BR>    XmlElement xe=(XmlElement)xn;</P></TD></TR></TBODY></TABLE><BR></P><P> </P><P><br><br><BR><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P>    if(xe.GetAttribute("genre")=="fantasy")<BR>    {<BR>     xe.RemoveAttribute("genre");//删除genre属性<BR>    }<BR>    else if(xe.GetAttribute("genre")=="update李赞红")<BR>    {<BR>     xe.RemoveAll();//删除该节点的全部内容<BR>    }<BR>   }<BR>   xmlDoc.Save("bookstore.xml");<BR></P></TD></TR></TBODY></TABLE><BR>  //====================<br><br>  最后结果为:<br><br><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><?xml version="1.0" encoding="gb2312"?><BR><bookstore><BR>  <book ISBN="2-3631-4"><BR>    <title>Oberon's Legacy</title><BR>    <author>Corets, Eva</author><BR>    <price>5.95</price><BR>  </book><BR>  <book><BR>  </book><BR></bookstore></TD></TR></TBODY></TABLE><BR> 4、显示所有数据。<br><br><TABLE borderColor=#55aaff cellSpacing=0 cellPadding=0 rules=none width=500 align=center bgColor=#ddedfb border=1><TBODY><TR><TD width=10><BR></TD><TD><P> XmlNode xn=xmlDoc.SelectSingleNode("bookstore");<br><br>   XmlNodeList xnl=xn.ChildNodes;<br><br>   foreach(XmlNode xnf in xnl)<BR>   {<BR>    XmlElement xe=(XmlElement)xnf;<BR>    Console.WriteLine(xe.GetAttribute("genre"));//显示属性值<BR>    Console.WriteLine(xe.GetAttribute("ISBN"));<br><br>    XmlNodeList xnf1=xe.ChildNodes;<BR>    foreach(XmlNode xn2 in xnf1)<BR>    {<BR>     Console.WriteLine(xn2.InnerText);//显示子节点点文本<BR>    }<BR>   } </P></TD></TR></TBODY></TABLE><BR>留做参考,原文地址http://blog.yesky.com/75/richsee/1211075.shtml<br><br>2前台代码:html<BR></P><DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG id=Codehighlighter1_2_107_Open_Image onclick="this.style.display='none'; Codehighlighter1_2_107_Open_Text.style.display='none'; Codehighlighter1_2_107_Closed_Image.style.display='inline'; Codehighlighter1_2_107_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_2_107_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2_107_Closed_Text.style.display='none'; Codehighlighter1_2_107_Open_Image.style.display='inline'; Codehighlighter1_2_107_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00"><%</SPAN><SPAN id=Codehighlighter1_2_107_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_2_107_Open_Text><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">@ Page language</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">c#</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> Codebehind</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">Main.aspx.cs</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> AutoEventWireup</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">false</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> Inherits</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">=</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">DsAndXML.OpXMLFile.Main</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5">"</SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #f5f5f5"> </SPAN></SPAN><SPAN style="COLOR: #000000; BACKGROUND-COLOR: #ffff00">%></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff"><!</SPAN><SPAN style="COLOR: #ff00ff">DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" </SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">HTML</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">HEAD</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">Main</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">title</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">meta </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="GENERATOR"</SPAN><SPAN style="COLOR: #ff0000"> Content</SPAN><SPAN style="COLOR: #0000ff">="Microsoft Visual Studio 7.0"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">meta </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="CODE_LANGUAGE"</SPAN><SPAN style="COLOR: #ff0000"> Content</SPAN><SPAN style="COLOR: #0000ff">="C#"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">meta </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="vs_defaultClientScript"</SPAN><SPAN style="COLOR: #ff0000"> content</SPAN><SPAN style="COLOR: #0000ff">="JavaScript"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">meta </SPAN><SPAN style="COLOR: #ff0000">name</SPAN><SPAN style="COLOR: #0000ff">="vs_targetSchema"</SPAN><SPAN style="COLOR: #ff0000"> content</SPAN><SPAN style="COLOR: #0000ff">="http://schemas.microsoft.com/intellisense/ie5"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">HEAD</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">body </SPAN><SPAN style="COLOR: #ff0000">MS_POSITIONING</SPAN><SPAN style="COLOR: #0000ff">="GridLayout"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">form </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="Main"</SPAN><SPAN style="COLOR: #ff0000"> method</SPAN><SPAN style="COLOR: #0000ff">="post"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">FONT </SPAN><SPAN style="COLOR: #ff0000">face</SPAN><SPAN style="COLOR: #0000ff">="宋体"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:DataGrid </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="dgShow"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 100; LEFT: 113px; POSITION: absolute; TOP: 32px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="480px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="178px"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:DataGrid</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Label </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="Label3"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 111; LEFT: 187px; POSITION: absolute; TOP: 383px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="120px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="21px"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">新邮件地址:</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">asp:Label</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Label </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="Label2"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 107; LEFT: 333px; POSITION: absolute; TOP: 274px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="83px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="21px"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">邮件地址:</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">asp:Label</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Button </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="btnAdd"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 104; LEFT: 298px; POSITION: absolute; TOP: 324px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Text</SPAN><SPAN style="COLOR: #0000ff">="添加"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:Button</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Button </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="btnDelete"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 103; LEFT: 199px; POSITION: absolute; TOP: 324px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Text</SPAN><SPAN style="COLOR: #0000ff">="删除"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:Button</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Button </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="btnChange"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 102; LEFT: 102px; POSITION: absolute; TOP: 382px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Text</SPAN><SPAN style="COLOR: #0000ff">="修改"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:Button</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Button </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="btnQuery"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 101; LEFT: 101px; POSITION: absolute; TOP: 324px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Text</SPAN><SPAN style="COLOR: #0000ff">="查询"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:Button</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:DropDownList </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="ddlName"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 105; LEFT: 210px; POSITION: absolute; TOP: 274px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="95px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="78px"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:DropDownList</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Label </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="Label1"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 106; LEFT: 100px; POSITION: absolute; TOP: 274px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="83px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="21px"</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">姓名:</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">asp:Label</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:Label </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="lbEmail"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 109; LEFT: 459px; POSITION: absolute; TOP: 274px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="231px"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:Label</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">asp:TextBox </SPAN><SPAN style="COLOR: #ff0000">id</SPAN><SPAN style="COLOR: #0000ff">="tbNewMail"</SPAN><SPAN style="COLOR: #ff0000"> style</SPAN><SPAN style="COLOR: #0000ff">="Z-INDEX: 110; LEFT: 330px; POSITION: absolute; TOP: 381px"</SPAN><SPAN style="COLOR: #ff0000"> runat</SPAN><SPAN style="COLOR: #0000ff">="server"</SPAN><SPAN style="COLOR: #ff0000"> Width</SPAN><SPAN style="COLOR: #0000ff">="208px"</SPAN><SPAN style="COLOR: #ff0000"> Height</SPAN><SPAN style="COLOR: #0000ff">="26px"</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">asp:TextBox</SPAN><SPAN style="COLOR: #0000ff">></</SPAN><SPAN style="COLOR: #800000">FONT</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">form</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">body</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">HTML</SPAN><SPAN style="COLOR: #0000ff">></SPAN></DIV>XML文件dbGuest.xml<BR><DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff"><?</SPAN><SPAN style="COLOR: #ff00ff">xml version="1.0" standalone="yes"</SPAN><SPAN style="COLOR: #0000ff">?></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">dbGuest</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">aaa</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">shanghai</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">aaa@263.net</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Message</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">ok</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Message</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">STime</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">2004-07-12T00:00:00.0000000+08:00</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">STime</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">shaoazhd</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">beijing</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">sss@22.net</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Message</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">afsa</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Message</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">STime</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">2004-7-12 15:07:39</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">STime</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">Guset</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">上海</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">sfaf@22.net</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">Guset</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Name</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">上海</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">City</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>    </SPAN><SPAN style="COLOR: #0000ff"><</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000">ss@22.net</SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">Email</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top>  </SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">User</SPAN><SPAN style="COLOR: #0000ff">></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff"></</SPAN><SPAN style="COLOR: #800000">dbGuest</SPAN><SPAN style="COLOR: #0000ff">></SPAN></DIV><DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Collections;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.ComponentModel;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Data;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Drawing;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Web;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Web.SessionState;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Web.UI;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.HtmlControls;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Xml;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">using</SPAN><SPAN style="COLOR: #000000"> System.Xml.XPath;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top></SPAN><SPAN style="COLOR: #0000ff">namespace</SPAN><SPAN style="COLOR: #000000"> DsAndXML.OpXMLFile<BR><IMG id=Codehighlighter1_318_4823_Open_Image onclick="this.style.display='none'; Codehighlighter1_318_4823_Open_Text.style.display='none'; Codehighlighter1_318_4823_Closed_Image.style.display='inline'; Codehighlighter1_318_4823_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_318_4823_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_318_4823_Closed_Text.style.display='none'; Codehighlighter1_318_4823_Open_Image.style.display='inline'; Codehighlighter1_318_4823_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top></SPAN><SPAN id=Codehighlighter1_318_4823_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_318_4823_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG id=Codehighlighter1_321_367_Open_Image onclick="this.style.display='none'; Codehighlighter1_321_367_Open_Text.style.display='none'; Codehighlighter1_321_367_Closed_Image.style.display='inline'; Codehighlighter1_321_367_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_321_367_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_321_367_Closed_Text.style.display='none'; Codehighlighter1_321_367_Open_Image.style.display='inline'; Codehighlighter1_321_367_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </SPAN><SPAN id=Codehighlighter1_321_367_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN><SPAN id=Codehighlighter1_321_367_Open_Text><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> </SPAN><SPAN style="COLOR: #808080"><summary></SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>    </SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> Main 的摘要说明。<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    </SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> </SPAN><SPAN style="COLOR: #808080"></summary></SPAN><SPAN style="COLOR: #808080"></SPAN></SPAN><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><SPAN style="COLOR: #000000">    </SPAN><SPAN style="COLOR: #0000ff">public</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">class</SPAN><SPAN style="COLOR: #000000"> Main : System.Web.UI.Page<BR><IMG id=Codehighlighter1_409_4821_Open_Image onclick="this.style.display='none'; Codehighlighter1_409_4821_Open_Text.style.display='none'; Codehighlighter1_409_4821_Closed_Image.style.display='inline'; Codehighlighter1_409_4821_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_409_4821_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_409_4821_Closed_Text.style.display='none'; Codehighlighter1_409_4821_Open_Image.style.display='inline'; Codehighlighter1_409_4821_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>    </SPAN><SPAN id=Codehighlighter1_409_4821_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_409_4821_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Button btnQuery;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Button btnChange;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Button btnDelete;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Button btnAdd;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.DropDownList ddlName;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Label Label1;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Label Label2;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Label lbEmail;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.TextBox tbNewMail;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.Label Label3;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> System.Web.UI.WebControls.DataGrid dgShow;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>    <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> Page_Load(</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000"> sender, System.EventArgs e)<BR><IMG id=Codehighlighter1_1076_1133_Open_Image onclick="this.style.display='none'; Codehighlighter1_1076_1133_Open_Text.style.display='none'; Codehighlighter1_1076_1133_Closed_Image.style.display='inline'; Codehighlighter1_1076_1133_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1076_1133_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1076_1133_Closed_Text.style.display='none'; Codehighlighter1_1076_1133_Open_Image.style.display='inline'; Codehighlighter1_1076_1133_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1076_1133_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1076_1133_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> 在此处放置用户代码以初始化页面</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #000000">!</SPAN><SPAN style="COLOR: #000000">IsPostBack)<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            Bind();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> Bind()<BR><IMG id=Codehighlighter1_1159_1589_Open_Image onclick="this.style.display='none'; Codehighlighter1_1159_1589_Open_Text.style.display='none'; Codehighlighter1_1159_1589_Closed_Image.style.display='inline'; Codehighlighter1_1159_1589_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1159_1589_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1159_1589_Closed_Text.style.display='none'; Codehighlighter1_1159_1589_Open_Image.style.display='inline'; Codehighlighter1_1159_1589_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1159_1589_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1159_1589_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            DataSet ds </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> DataSet();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            ds.ReadXml(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            dgShow.DataSource </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> ds.Tables[</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">].DefaultView;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            dgShow.DataBind();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlDocument doc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlDocument();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            doc.Load(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlNodeList elemList </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> doc.GetElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            ddlName.Items.Clear();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">for</SPAN><SPAN style="COLOR: #000000">(</SPAN><SPAN style="COLOR: #0000ff">int</SPAN><SPAN style="COLOR: #000000"> i</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">;i</SPAN><SPAN style="COLOR: #000000"><</SPAN><SPAN style="COLOR: #000000">elemList.Count;i</SPAN><SPAN style="COLOR: #000000">++</SPAN><SPAN style="COLOR: #000000">)<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>             ddlName.Items.Add(elemList[i].InnerXml);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG id=Codehighlighter1_1594_2275_Closed_Image onclick="this.style.display='none'; Codehighlighter1_1594_2275_Closed_Text.style.display='none'; Codehighlighter1_1594_2275_Open_Image.style.display='inline'; Codehighlighter1_1594_2275_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top><IMG id=Codehighlighter1_1594_2275_Open_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1594_2275_Open_Text.style.display='none'; Codehighlighter1_1594_2275_Closed_Image.style.display='inline'; Codehighlighter1_1594_2275_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1594_2275_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">Web Form Designer generated code</SPAN><SPAN id=Codehighlighter1_1594_2275_Open_Text style="DISPLAY: none"><SPAN style="COLOR: #0000ff">#region</SPAN><SPAN style="COLOR: #000000"> Web Form Designer generated code</SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">override</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> OnInit(EventArgs e)<BR><IMG id=Codehighlighter1_1683_1786_Open_Image onclick="this.style.display='none'; Codehighlighter1_1683_1786_Open_Text.style.display='none'; Codehighlighter1_1683_1786_Closed_Image.style.display='inline'; Codehighlighter1_1683_1786_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1683_1786_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1683_1786_Closed_Text.style.display='none'; Codehighlighter1_1683_1786_Open_Image.style.display='inline'; Codehighlighter1_1683_1786_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1683_1786_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1683_1786_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000"> CODEGEN:该调用是 ASP.NET Web 窗体设计器所必需的。<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #008000">//<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            InitializeComponent();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">base</SPAN><SPAN style="COLOR: #000000">.OnInit(e);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        <BR><IMG id=Codehighlighter1_1793_1868_Open_Image onclick="this.style.display='none'; Codehighlighter1_1793_1868_Open_Text.style.display='none'; Codehighlighter1_1793_1868_Closed_Image.style.display='inline'; Codehighlighter1_1793_1868_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1793_1868_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1793_1868_Closed_Text.style.display='none'; Codehighlighter1_1793_1868_Open_Image.style.display='inline'; Codehighlighter1_1793_1868_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1793_1868_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN><SPAN id=Codehighlighter1_1793_1868_Open_Text><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> </SPAN><SPAN style="COLOR: #808080"><summary></SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> 设计器支持所需的方法 - 不要使用代码编辑器修改<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> 此方法的内容。<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        </SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000"> </SPAN><SPAN style="COLOR: #808080"></summary></SPAN><SPAN style="COLOR: #808080"></SPAN></SPAN><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><SPAN style="COLOR: #000000">        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> InitializeComponent()<BR><IMG id=Codehighlighter1_1908_2262_Open_Image onclick="this.style.display='none'; Codehighlighter1_1908_2262_Open_Text.style.display='none'; Codehighlighter1_1908_2262_Closed_Image.style.display='inline'; Codehighlighter1_1908_2262_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_1908_2262_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_1908_2262_Closed_Text.style.display='none'; Codehighlighter1_1908_2262_Open_Image.style.display='inline'; Codehighlighter1_1908_2262_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_1908_2262_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_1908_2262_Open_Text><SPAN style="COLOR: #000000">{    <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnQuery.Click </SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> System.EventHandler(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnQuery_Click);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnChange.Click </SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> System.EventHandler(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnChange_Click);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnDelete.Click </SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> System.EventHandler(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnDelete_Click);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnAdd.Click </SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> System.EventHandler(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.btnAdd_Click);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.Load </SPAN><SPAN style="COLOR: #000000">+=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> System.EventHandler(</SPAN><SPAN style="COLOR: #0000ff">this</SPAN><SPAN style="COLOR: #000000">.Page_Load);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">#endregion</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> btnQuery_Click(</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000"> sender, System.EventArgs e)<BR><IMG id=Codehighlighter1_2345_2574_Open_Image onclick="this.style.display='none'; Codehighlighter1_2345_2574_Open_Text.style.display='none'; Codehighlighter1_2345_2574_Closed_Image.style.display='inline'; Codehighlighter1_2345_2574_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2345_2574_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2345_2574_Closed_Text.style.display='none'; Codehighlighter1_2345_2574_Open_Image.style.display='inline'; Codehighlighter1_2345_2574_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_2345_2574_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_2345_2574_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlDocument doc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlDocument();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            doc.Load(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            lbEmail.Text </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> doc.SelectSingleNode(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">//User[Name='</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">ddlName.SelectedItem.Text</SPAN><SPAN style="COLOR: #000000">+</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">']</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).ChildNodes.Item(</SPAN><SPAN style="COLOR: #000000">2</SPAN><SPAN style="COLOR: #000000">).InnerText;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>         <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> btnChange_Click(</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000"> sender, System.EventArgs e)<BR><IMG id=Codehighlighter1_2645_3475_Open_Image onclick="this.style.display='none'; Codehighlighter1_2645_3475_Open_Text.style.display='none'; Codehighlighter1_2645_3475_Closed_Image.style.display='inline'; Codehighlighter1_2645_3475_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2645_3475_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2645_3475_Closed_Text.style.display='none'; Codehighlighter1_2645_3475_Open_Image.style.display='inline'; Codehighlighter1_2645_3475_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_2645_3475_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_2645_3475_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlDocument xmlDoc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlDocument();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xmlDoc.Load(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlNodeList nodeList</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.SelectSingleNode(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">dbGuest</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).ChildNodes;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">获取dbGuest节点的所有子节点</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            </SPAN><SPAN style="COLOR: #0000ff">foreach</SPAN><SPAN style="COLOR: #000000">(XmlNode xn </SPAN><SPAN style="COLOR: #0000ff">in</SPAN><SPAN style="COLOR: #000000"> nodeList)</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">遍历所有子节点</SPAN><SPAN style="COLOR: #008000"><BR><IMG id=Codehighlighter1_2885_3402_Open_Image onclick="this.style.display='none'; Codehighlighter1_2885_3402_Open_Text.style.display='none'; Codehighlighter1_2885_3402_Closed_Image.style.display='inline'; Codehighlighter1_2885_3402_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_2885_3402_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_2885_3402_Closed_Text.style.display='none'; Codehighlighter1_2885_3402_Open_Image.style.display='inline'; Codehighlighter1_2885_3402_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            </SPAN><SPAN id=Codehighlighter1_2885_3402_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_2885_3402_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                XmlElement xe</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">(XmlElement)xn;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">将子节点类型转换为XmlElement类型</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                XmlNodeList node </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> xe.GetElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(node.Count</SPAN><SPAN style="COLOR: #000000">></SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">)<BR><IMG id=Codehighlighter1_3029_3392_Open_Image onclick="this.style.display='none'; Codehighlighter1_3029_3392_Open_Text.style.display='none'; Codehighlighter1_3029_3392_Closed_Image.style.display='inline'; Codehighlighter1_3029_3392_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3029_3392_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3029_3392_Closed_Text.style.display='none'; Codehighlighter1_3029_3392_Open_Image.style.display='inline'; Codehighlighter1_3029_3392_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>                </SPAN><SPAN id=Codehighlighter1_3029_3392_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3029_3392_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                    </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(node[</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">].InnerText</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">ddlName.SelectedItem.Text)<BR><IMG id=Codehighlighter1_3091_3386_Open_Image onclick="this.style.display='none'; Codehighlighter1_3091_3386_Open_Text.style.display='none'; Codehighlighter1_3091_3386_Closed_Image.style.display='inline'; Codehighlighter1_3091_3386_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3091_3386_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3091_3386_Closed_Text.style.display='none'; Codehighlighter1_3091_3386_Open_Image.style.display='inline'; Codehighlighter1_3091_3386_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>                    </SPAN><SPAN id=Codehighlighter1_3091_3386_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3091_3386_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                        XmlNodeList nls</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xe.ChildNodes;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">继续获取xe子节点的所有子节点</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                        </SPAN><SPAN style="COLOR: #0000ff">foreach</SPAN><SPAN style="COLOR: #000000">(XmlNode xn1 </SPAN><SPAN style="COLOR: #0000ff">in</SPAN><SPAN style="COLOR: #000000"> nls)</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">遍历</SPAN><SPAN style="COLOR: #008000"><BR><IMG id=Codehighlighter1_3191_3366_Open_Image onclick="this.style.display='none'; Codehighlighter1_3191_3366_Open_Text.style.display='none'; Codehighlighter1_3191_3366_Closed_Image.style.display='inline'; Codehighlighter1_3191_3366_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3191_3366_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3191_3366_Closed_Text.style.display='none'; Codehighlighter1_3191_3366_Open_Image.style.display='inline'; Codehighlighter1_3191_3366_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                        </SPAN><SPAN id=Codehighlighter1_3191_3366_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3191_3366_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                            XmlElement xe2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">(XmlElement)xn1;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">转换类型</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                            </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(xe2.Name</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Email</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">)</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">如果找到</SPAN><SPAN style="COLOR: #008000"><BR><IMG id=Codehighlighter1_3280_3358_Open_Image onclick="this.style.display='none'; Codehighlighter1_3280_3358_Open_Text.style.display='none'; Codehighlighter1_3280_3358_Closed_Image.style.display='inline'; Codehighlighter1_3280_3358_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3280_3358_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3280_3358_Closed_Text.style.display='none'; Codehighlighter1_3280_3358_Open_Image.style.display='inline'; Codehighlighter1_3280_3358_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                            </SPAN><SPAN id=Codehighlighter1_3280_3358_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3280_3358_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                                xe2.InnerText</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">tbNewMail.Text;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">则修改</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                                </SPAN><SPAN style="COLOR: #0000ff">break</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">找到退出来就可以了</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top></SPAN><SPAN style="COLOR: #000000">                            }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>                        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                        </SPAN><SPAN style="COLOR: #0000ff">break</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>                    }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>                }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>            }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xmlDoc.Save(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            Bind();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> btnDelete_Click(</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000"> sender, System.EventArgs e)<BR><IMG id=Codehighlighter1_3546_4056_Open_Image onclick="this.style.display='none'; Codehighlighter1_3546_4056_Open_Text.style.display='none'; Codehighlighter1_3546_4056_Closed_Image.style.display='inline'; Codehighlighter1_3546_4056_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3546_4056_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3546_4056_Closed_Text.style.display='none'; Codehighlighter1_3546_4056_Open_Image.style.display='inline'; Codehighlighter1_3546_4056_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_3546_4056_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3546_4056_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlDocument xmlDoc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlDocument();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xmlDoc.Load(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlNodeList xnl</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.SelectSingleNode(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">dbGuest</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">).ChildNodes;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top> <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            </SPAN><SPAN style="COLOR: #0000ff">foreach</SPAN><SPAN style="COLOR: #000000">(XmlNode xn </SPAN><SPAN style="COLOR: #0000ff">in</SPAN><SPAN style="COLOR: #000000"> xnl)<BR><IMG id=Codehighlighter1_3750_3979_Open_Image onclick="this.style.display='none'; Codehighlighter1_3750_3979_Open_Text.style.display='none'; Codehighlighter1_3750_3979_Closed_Image.style.display='inline'; Codehighlighter1_3750_3979_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3750_3979_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3750_3979_Closed_Text.style.display='none'; Codehighlighter1_3750_3979_Open_Image.style.display='inline'; Codehighlighter1_3750_3979_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>            </SPAN><SPAN id=Codehighlighter1_3750_3979_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3750_3979_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                XmlElement xe</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">(XmlElement)xn;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                XmlNodeList node </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> xe.GetElementsByTagName(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(node.Count</SPAN><SPAN style="COLOR: #000000">></SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">)<BR><IMG id=Codehighlighter1_3867_3974_Open_Image onclick="this.style.display='none'; Codehighlighter1_3867_3974_Open_Text.style.display='none'; Codehighlighter1_3867_3974_Closed_Image.style.display='inline'; Codehighlighter1_3867_3974_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_3867_3974_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_3867_3974_Closed_Text.style.display='none'; Codehighlighter1_3867_3974_Open_Image.style.display='inline'; Codehighlighter1_3867_3974_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>                </SPAN><SPAN id=Codehighlighter1_3867_3974_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_3867_3974_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                    </SPAN><SPAN style="COLOR: #0000ff">if</SPAN><SPAN style="COLOR: #000000">(node[</SPAN><SPAN style="COLOR: #000000">0</SPAN><SPAN style="COLOR: #000000">].InnerText</SPAN><SPAN style="COLOR: #000000">==</SPAN><SPAN style="COLOR: #000000">ddlName.SelectedItem.Text)<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>                        xe.RemoveAll();</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">删除该节点的全部内容</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">                    </SPAN><SPAN style="COLOR: #0000ff">break</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>                }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>            }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xmlDoc.Save(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            Bind();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>        </SPAN><SPAN style="COLOR: #0000ff">private</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">void</SPAN><SPAN style="COLOR: #000000"> btnAdd_Click(</SPAN><SPAN style="COLOR: #0000ff">object</SPAN><SPAN style="COLOR: #000000"> sender, System.EventArgs e)<BR><IMG id=Codehighlighter1_4124_4818_Open_Image onclick="this.style.display='none'; Codehighlighter1_4124_4818_Open_Text.style.display='none'; Codehighlighter1_4124_4818_Closed_Image.style.display='inline'; Codehighlighter1_4124_4818_Closed_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockStart.gif" align=top><IMG id=Codehighlighter1_4124_4818_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; Codehighlighter1_4124_4818_Closed_Text.style.display='none'; Codehighlighter1_4124_4818_Open_Image.style.display='inline'; Codehighlighter1_4124_4818_Open_Text.style.display='inline';" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedSubBlock.gif" align=top>        </SPAN><SPAN id=Codehighlighter1_4124_4818_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff"><IMG src="http://www.cnblogs.com/Images/dot.gif"></SPAN><SPAN id=Codehighlighter1_4124_4818_Open_Text><SPAN style="COLOR: #000000">{<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlDocument xmlDoc </SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000"> </SPAN><SPAN style="COLOR: #0000ff">new</SPAN><SPAN style="COLOR: #000000"> XmlDocument();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xmlDoc.Load(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlNode root</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.SelectSingleNode(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">dbGuest</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">查找<dbGuest></SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            XmlElement xe1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.CreateElement(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">User</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">创建一个<User>节点</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            XmlElement xesub1</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.CreateElement(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Name</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xesub1.InnerText</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Guset</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">设置文本节点</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            xe1.AppendChild(xesub1);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">添加到<User>节点中</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            XmlElement xesub2</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.CreateElement(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">City</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xesub2.InnerText</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">上海</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xe1.AppendChild(xesub2);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            XmlElement xesub3</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">xmlDoc.CreateElement(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">Email</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xesub3.InnerText</SPAN><SPAN style="COLOR: #000000">=</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">ss@22.net</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">;<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            xe1.AppendChild(xesub3);<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top> <BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            root.AppendChild(xe1);</SPAN><SPAN style="COLOR: #008000">//</SPAN><SPAN style="COLOR: #008000">添加到<dbGuest>节点中</SPAN><SPAN style="COLOR: #008000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top></SPAN><SPAN style="COLOR: #000000">            xmlDoc.Save(Server.MapPath(</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">.\\db\\dbGuest.xml</SPAN><SPAN style="COLOR: #000000">"</SPAN><SPAN style="COLOR: #000000">));<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>            Bind();<BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>        }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedSubBlockEnd.gif" align=top>    }</SPAN></SPAN><SPAN style="COLOR: #000000"><BR><IMG src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>}</SPAN></SPAN><SPAN style="COLOR: #000000"><BR></SPAN></DIV></DIV> <hr> <p class="source">编辑:<a href="http://www.14study.cn/"><span>一起学习网</span></a></p> <p class="original-tit mt30"> 标签:<span>节点,属性,遍历,类型,文本</span> </p> <div class="share-title"> <span class="txt">分享:</span> <a href="javascript:void(0);" class="getQrcode" title="请使用微信扫此码"> <i class="icon layui-icon layui-icon-login-wechat"></i> </a> <a href="javascript:void(0);" class="getQrcode" title="请使用微博扫此码"> <i class="icon layui-icon layui-icon-login-weibo"></i> </a> <a href="javascript:void(0);" class="getQrcode" title="请使用QQ扫此码"> <i class="icon layui-icon layui-icon-login-qq"></i> </a> <button class="layui-btn Collection"> ❤<span>收藏</span> </button> </div> </div> </div> <div class="layui-col-xs12 layui-col-sm12 layui-col-md12"> <div class="popular-info popular-info-tog"> <div class="layui-card"> <div class="layui-card-body"> <ul class="list-box"> <li class="list"><a href="http://www.14study.cn/news/01155018571898818560.html">公用SQLServer数据库带来更多便利(公用sqlserver)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018533365747712.html">数据使用MSSQL删除数据的简单操作(我的mssql怎么删除)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018497231818752.html">以SQL Server绘制均线图:实用技巧分享(sqlserver均线图)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018475077505024.html">MSSQL 3文件夹功能深度剖析(mssql.3文件夹用途)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018447835500544.html">易对比MySQL与MSSQL的易难分析对比(mysql mssql难)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018371230732288.html">『Redis指南:全面研究Redis帮助文档』(redis帮助文档)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018334828367872.html">件SQL Server中间件:桥梁连接数据库与应用(sqlserver中间)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018309654155264.html">优化提升Redis命中率,轻松精准优化!(redis命中率)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018283536224256.html">数据提取MSSQL月初月末数据提取技巧分享(mssql 月初 月末)</a></li> <li class="list"><a href="http://www.14study.cn/news/01155018253878300672.html">MSSQL中的热备实现:不断保护数据安全(mssql 热备)</a></li> </ul> </div> </div> </div> </div> </div> </div> </div> </div> <div class="micronews-footer-wrap"> <div class="micronews-footer w1000"> <div class="ft-nav"> <a href="https://www.qiping.cn">祺平科技</a> <a href="https://568sj.com">ChatGPT极速版</a> </div> <div class="Copyright"> <span>© 广告联系 • lijich123@qq.com</span> <span><a href="https://beian.miit.gov.cn" target="_blank">粤ICP备09073859号</a></span> <span>    技术支持 </span> <span><a href="https://www.aidufei.com" target="_blank">AI度飞</a></span> </div> </div> </div> <script src="https://global.cnd.aidufei.com/cms/lib/layui/layui.js"></script><script src="https://global.cnd.aidufei.com/cms/lib/js/jquery.qrcode.min.js"></script> <script>layui.config({base:'https://global.cnd.aidufei.com/cms/web/default/js/' }).use('index',function(){var index =layui.index,$ =layui.$;var collOff =true;$('.Collection').on('click',function(){if(collOff){$(this).addClass('active') }else{$(this).removeClass('active') } collOff =!collOff;layer.alert('请按 Ctrl + D 收藏此页面');});index.arrowutil();$('.getQrcode').on('click',function(){var title =$(this).attr('title');getQR(window.location.href,title);});});proxyImage('.article');adjustImageSize('.article');$(window).resize(function() {adjustImageSize('.article');});</script> <script>var _hmt =_hmt ||[];(function() {var hm =document.createElement("script");hm.src ="https://hm.baidu.com/hm.js?a2943f81fb37ac0c1956a3fddee9374c";var s =document.getElementsByTagName("script")[0];s.parentNode.insertBefore(hm,s);})();</script> <script type="text/javascript" src="//js.users.51.la/21800041.js"></script> </body> </html>