Oberon's Legacy</title" /> <link rel="shortcut icon" href="https://global.cnd.aidufei.com/99999999/template/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" href="https://global.cnd.aidufei.com/cms/lib/layui/css/layui.css"> <link rel="stylesheet" href="https://global.cnd.aidufei.com/cms/web/t0_2/css/index.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> <!--菜单栏--> <div class="nav index"> <div class="layui-container"> <!-- 公司logo --> <div class="nav-logo"> <a href="http://www.qiping.cn/"> <img src="https://global.cnd.aidufei.com/99999999/template/1134647963742769152.png" alt="祺平科技官网"> </a> </div> <div class="nav-list"> <button> <span></span><span></span><span></span> </button> <ul class="layui-nav" lay-filter=""> <li class="layui-nav-item"><a href="http://www.qiping.cn/page/1135376878593511424.html">消防隐患排查系统</a></li> <li class="layui-nav-item"><a href="http://www.qiping.cn/page/1278918703567736832.html">消防电气防火检测系统</a></li> <li class="layui-nav-item"><a href="http://www.qiping.cn/page/buy.html">如何购买</a></li> <li class="layui-nav-item"><a href="http://www.qiping.cn/page/消防排查软件开发人员.html">联系我们</a></li> </ul> </div> </div> </div> <!-- banner部分 --> <div class="banner news" style="background: url('https://global.cnd.aidufei.com/cms/web/t0_2/img/nav_img3.jpg');"> <div class="title"> <p></p> <p class="en"></p> </div> </div> <!-- main部分 --> <div class="main-newsdate"> <div class="layui-container" style="text-align: left"> <!--广告位--> <p class="news"> </p> <h1>XML 增、删、改和查示例</h1> <hr> <p class="pushtime"><!--时间:<span>06-18</span>     人气:<span></span>--></p> <div class="introTop"><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></div> <!--<p class="news"></p>--> <!--<div class="introBott" style="text-align: left;"> <h2><a href="http://www.qiping.cn/newslist/0XML/RSS.html"></a></h2> </div>--> </div> </div> <div class="main-news"> <div class="layui-container"> <div class="layui-row layui-col-space20"> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326837675462656.html">SQLSERVER2008中CTE的Split与CLR的性能比较</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326820650782720.html">SQL SERVER 2008 CTE生成结点的FullPath</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326811591086080.html">sql2008 附加数据库时出现错误5123提示的解决方法</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326794599960576.html">sqlserver2005使用row_number() over分页的实现方法</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326776732225536.html">Sql server 2008 express远程登录实例设置 图文教程</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326755408384000.html">SQLServer2005 没有日志文件(*.ldf) 只有数据文件(*.mdf) 恢复数据库的方法</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326745816010752.html">sqlserver巧用row_number和partition by分组取top数据</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326733572837376.html">SQL SERVER 2008 无法附加数据库的解决方法</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326713578590208.html">Win2008中SqlServer2008 无法打开错误日志文件导致无法启动的解决方法</a> </div> </div> <div class="layui-col-lg6 content"> <div class="news-panel" style="padding-bottom:3px;width: auto"> <a href="http://www.qiping.cn/news/01121326698663645184.html">sqlsever为标识列指定显式值</a> </div> </div> </div> </div> </div> <!-- footer部分 --> <div class="footer"> <div class="layui-container"> <p class="footer-web"> <a href="http://url.qiping.cn/" target="_blank">域名转发系统</a> <a href="https://www.14study.cn/" target="_blank">一起学习网</a> <a href="https://cms.qiping.cn/" target="_blank">站群管理系统</a> <a href="https://fcms.qiping.cn/" target="_blank">消防隐患排查系统</a> <a href="https://www.4x4offroadleds.com" target="_blank">汽车灯</a> </p> <div class="layui-row footer-contact"> <div class="layui-col-sm2 layui-col-lg1"><img width="90" height="90" src="https://global.cnd.aidufei.com/99999999/template/1323680824255713280.png"></div> <div class="layui-col-sm10 layui-col-lg11"> <div class="layui-row"> <div class="layui-col-sm6 layui-col-md8 layui-col-lg9"> <p class="contact-top"><i class="layui-icon layui-icon-cellphone"></i> 13432074335</p> <p class="contact-bottom"><i class="layui-icon layui-icon-home"></i> 微信/QQ:312425336</p> </div> <div class="layui-col-sm6 layui-col-md4 layui-col-lg3"> <p class="contact-top"><span class="right"><p>版本所有:祺平科技<br/></p></span></p> <p class="contact-bottom"><span class="right"> <a href="https://beian.miit.gov.cn" target="_blank">粤ICP备15012827号</a><br> </span></p> </div> </div> </div> </div> </div> </div> <script src="https://global.cnd.aidufei.com/cms/lib/layui/layui.js"></script> <script> var path = 'https://global.cnd.aidufei.com/cms/'; var template = 't0_2'; layui.config({ base: path+'web/'+template+'/js/' }).use('firm'); </script><script> proxyImage('.introTop'); adjustImageSize('.introTop'); $(window).resize(function() {adjustImageSize('.introTop');}); </script> <script type="text/javascript" src="https://hm.baidu.com/hm.js?2e8f7fcee0f845820f8b9a2e0c1ff589"></script> <script type="text/javascript" src="https://js.users.51.la/21800097.js"></script> <script type="text/javascript" src="https://hm.baidu.com/hm.js?977ecf21d4a5885084f33285a2f93de6"></script> </body> </html>