asp.net ɾ³ýxml ´ó¼ÒÀ´¿´¿´
×öÁ˸öÈý¼¶xml£¬¿ÉÒÔ¶¯Ì¬Éú³É£¬µ«ÊÇɾ³ýµÄʱºòÏë°ÑËûËùÓеÄ×Ó½ÚµãÈ«²¿É¾³ý
<?xml version="1.0" encoding="utf-8"?>
<Product title="Ñ¡Ôñ²úÆ·µ½¹ºÎï³µ">
<Type1 typeName="d" typeId="14" />
<type2 title="aaa" typeId="322">
</type2>
<Type1 typeName="e" typeId="15" />
<Type1 typeName="dfdf" typeId="16" />
<Type1 typeName="test" typeId="17" />
<Type1 typeName="dfdfdf" typeId="18" />
</Product>
±ä³É
<?xml version="1.0" encoding="utf-8"?>
<Product title="Ñ¡Ôñ²úÆ·µ½¹ºÎï³µ">
</Product>ÕâÖÖÑùʽ£¬µ«ÊÇÓÃremeveAll();
»¹»áÓÐ <type1>
<type2> </type2>
</type1>
ÕâÑùµÄ¿Õ±êÇ©
Çë¸÷λ´óÏÀ°ïæ ½â¾öÏÂ
XmlDocument Xd = new XmlDocument();
Xd.Load("Path.xml");
XmlNode xn = Xd.SelectSingleNode("Product");
XmlNodeList xnl = xn.ChildNodes;
foreach (XmlNode XmlN in
Ïà¹ØÎÊ´ð£º
ÄÄλ´ó¸çÓÐûÓÐASP.NETÖÐÀûÓÃCookiesʵÏÖÓû§×Ô¶¯µÇ¼µÄ´úÂë...ллÁË...Ô½ÏêϸԽºÃ....
ʲôÒâ˼£¿×Ô¶¯µÇ¼£¿
mark òÊÓÊÇ´æ´¢cookies ÎÒÒ²¶Ôcook±È½ÏÃÔºý ¹Ø×¢ÏÂ
¼ÈÈ»ÄãÖªµÀÓÃcookies×Ô¼º¶¯¶¯´óÄÔ¶àºÃ£¡ ......
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
Êý¾Ý¿â±íÖÐÓÐÒ»ÁУ¨TranXml£©ÀàÐÍÊÇxml£¬´æ´¢µÄÊÇÀàËÆ
<fathernode>
<a>aaa
</a>
<b>bbb
</b>
</fathernode>
µÄÐÅÏ¢£¬²¢ÇÒͨ¹ý²éѯ·½· ......
DataSetµ¼³öxml Åú´¦Àí(Ñ»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
<B>
<C>
</C>
&nb ......
CREATE PROCEDURE [selectvipcompany]
@username varchar(50),
@companyname varchar(50),
@endtime varchar(1)
AS
declare @sql varchar(1000)
set @sql='' ......