ASP.Net²Ù×÷XMLµÄÒÉÎÊ£¬Çë´ó¼Ò°ïæ
ÎÒÒѾдºÃÒ»¸öxmlÎļþ£¬Ãû³ÆΪ¡°TestXML.xml¡±ÄÚÈÝÈçÏ£º
<?xml version="1.0" encoding="utf-8"?>
<ProductList>
<Title>Title </Title>
<!--
-->
<SectionNode>
<SectionTitle>nNodeID.ToString() </SectionTitle>
<Description>Description </Description>
<SingleSelect>false </SingleSelect>
<ProductItem>
<!--ÕæÐÄÏã¹Ï×Ó75¿Ë-->
<PePID>9816 </PePID>
<DefaultSelection>false </DefaultSelection>
<DefaultNumber>1 </DefaultNumber>
<Discount>1 </Discount>
<Visible>true </Visible>
</ProductItem>
</SectionNode>
</ProductList>
ÏÖÔÚÐèÒª´ÓÊý¾Ý¿â¶Á³öÏàÓ¦µÄÄÚÈÝ£¬È»ºóдµ½Õâ¸öÒѾ´æÔÚµÄxmlÎļþÖС£ÎҵĴúÂëÈçÏ£º
if ((ds.Tables.Count == 1) && (ds.Tables[0].Rows.Count != 0))
{
XmlDocument rDoc = new XmlDocument();
rDoc.Load(MapPath("TestXml.xml"));
XmlElement root = rDoc.DocumentElement;
XmlNode rXmlTitle = rDoc
Ïà¹ØÎÊ´ð£º
Ç°¶Îʱ¼äÅöµ½Ò»µÀÃæÊÔÌâÈçÏ£º
test.aspxÒ³ÃæÓÐÈçÏ´úÂ룺
Response.Write(Test.GetDate());
TestÀàÈçÏ£º
public class Test
{
static string dt="";
public static s ......
ASP.NETÈçºÎÓÃÒ»¸ö°´Å¥ÊµÏÖÑ¡ÔñÎļþ¼Ð·¾¶µ½Îı¾¿òÖУ¿£¨×¢ÒâÊÇÎļþ¼Ð·¾¶£¬²»ÊÇÎļþ·¾¶£©
http://blog.csdn.net/xianfajushi/archive/2008/10/18/3094474.aspx
Õâ²»ÊÇÎÒÒªµÄЧ¹û£¬ÎÒÒªÓõÄÊÇÀàËÆÓÚÎļþÉÏ´«¿ÉÒ ......
·þÎñÆ÷ÏÖÔÚÊÇ¡£net 2.0µÄ
ÎÒÏÖÔÚµÄÏîÄ¿¾ÍÊÇasp.net mvc + linqµÄ£¬ÏÖÔÚ·þÎñÆ÷µÄ»·¾³ÅäÖÃÓò»ÁË¡£
²»ÖªµÀÓÐÇ°±²Åöµ½¹ýÕâÑùµÄÎÊÌâû¡£
ÄѵÀ·þÎñÆ÷±ØÐëҪװ.net3.5 ºÍ asp.net mvc
ÇëÇ°±²Ö¸µã
²»×°ÄãÈÏΪÄãÒªÔõô ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
asp.net µã»÷Button µ¯³öÈ·È϶Ի°¿ò ÊÇ·ñÍ˳ö
Response.Write(@"<script language='javascript'>window.close();</script>");
onclientclick="return confirm('ÊÇ·ñÍ˳ö')" ......