Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB
ÈÈÃűêÇ©£º c c# c++ asp asp.net linux php jsp java vb Python Ruby mysql sql access Sqlite sqlserver delphi javascript Oracle ajax wap mssql html css flash flex dreamweaver xml
 ×îÐÂÎÄÕ : xml

xmlÈçºÎ¿ç¼¶´´½¨Ö¸¶¨Â·¾¶µÄ½Úµã - .NET¼¼Êõ / VB.NET

ÎÒÓиöxmlÎļþ
<config>
...
...
</config>
ÏÖÔÚÎÒÏëÒ»ÏÂ×Ó´´½¨Ò»¸ö·¾¶¡°/config/key1/value¡±µÄ½Úµã £¬¼´ ÈçÏÂ
<config>
...
...
<key1>
<value>value</value>
</key>
</config>


Â¥ÉϵĴúÂëºÃÏñÊÇÑ¡ÔñÒ»¸ö½Úµã£¬¶ø²»ÊÇ´´½¨Ò»¸ö½Úµã°É £¿

×Ô¼ºÒѾ­ ......

XMLÈ¡Êý¾ÝÎÊÌâ - MS-SQL Server / ÒÉÄÑÎÊÌâ

XML¸ñʽÈçÏ£º
<ROOT>
  <SM>
  <SMID>88</SMID>
  <SMCD>A5</SMCD>
  <SMNM>ÁõÑó</SMNM>
  <NDS>
  <ND>
  <SF>3</SF>
  <NDID>88</NDID>
&nb ......

c# ±éÀúxmlÎÊÌâ - .NET¼¼Êõ / C#

xmlÎļþ¸ñʽÈçÏÂ
XML code:

<?xml version="1.0" encoding="GB2312" ?>
<allproducts version="1.0">
<products>
<product name="prodId" value="28127" />
<product name="prodContent" value="5" /& ......

ÇóÖú£ºc# ¶ÁÈ¡xml×Ó½áµã - .NET¼¼Êõ / C#

<?xml version="1.0" encoding="gb2312"?>
<Base>
<DatabaseCatalog>
  <DatabaseCatalogName>»ù´¡¿â</DatabaseCatalogName>
  <Alias>commondb</Alias>
  <DatabaseCatalogCode>1</DatabaseCatalogCode>
  < ......

ÔõÑùÓÃsqlÓï¾äÖ±½ÓÉú³ÉXMLÎļþ - .NET¼¼Êõ / ASP.NET

ÔõÑùÓÃsqlÓï¾äÖ±½ÓÉú³ÉXMLÎļþ?
select* from tab for xml

ÒýÓÃ
select* from tab for xml
ÍÛ£¬Ò»Â¥£¬ÕâÊÇÕæµÄÂð£¿ÕæÓÐÕâÖÖÓ÷¨Âð£¿ÔõôÓð¡

ÎÒÖ»ÖªµÀ£¬dataset.toxml()

C# code:

²»ÖªµÀÔõôֱ½ÓÉú³Éxml
Ê×ÏÈÄãÒªµ½´¦µÄ½á¹ûÒª·ûºÏxmlµÄ¸ñʽ°É¡£¡£
¹À¼ÆÔÚºǫ́ÓôúÂëÀ´ÊµÏÖ¼òµ¥

ͬÒâ3Â¥£¬»òÕßÉú³ÉTable ......

C#¶ÔXMLÎĵµ²Ù×÷ÎÊÌâ - .NET¼¼Êõ / C#

¸÷λ´ó¸ç°¡...
±¾ÈËÊÇC#ÐÂÊÖ(ºÜеĵÄÄÇÖÖ),Çë½Ì´ó¼Ò,C#ÏÖÔÚÓÐÄÄЩ¼¼ÊõÓÃÀ´¶ÔXMLÎĵµ½øÐвÙ×÷ÄØ?
MSDNÎĵµÖÐÓÐÒ»¸öSystem.XMLÃüÃû¿Õ¼ä,ÀïÃæºÃ¶àÀà°¡,ÎÒÑÛ¾¦¶¼¿´»¨ÁË,¿´µÃÎÒÍ·¶¼Í´ÁË.
È»ºó,»¹ÓÐÄǸöLinq to XML ,µ½µ×Ó¦¸ÃѧÄĸöÄØ?ÔõôѧÄØ?
Ó¦¸Ã´ÓºÎ¿ªÊ¼°¡,ÎÒ¿ì·èµôÁË....
ÎÒÕæµÄ²»Öª¸ÃÈçºÎÊǺÃÁË,»¹Çë¸÷λǰ±²Ö¸µãÒ»Ï ......
×ܼǼÊý:834; ×ÜÒ³Êý:139; ÿҳ6 Ìõ; Ê×Ò³ ÉÏÒ»Ò³ [29] [30] [31] [32] 33 [34] [35] [36] [37] [38]  ÏÂÒ»Ò³ βҳ
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ