ÇóÖú£ºc# ¶ÁÈ¡xml×Ó½áµã - .NET¼¼Êõ / C#
<?xml version="1.0" encoding="gb2312"?>
<Base>
<DatabaseCatalog>
<DatabaseCatalogName>»ù´¡¿â</DatabaseCatalogName>
<Alias>commondb</Alias>
<DatabaseCatalogCode>1</DatabaseCatalogCode>
<databasecount>1</databasecount>
<Database>
<DatabaseName>database1</DatabaseName>
<DatabaseCode>11</DatabaseCode>
<Tablecount>1</Tablecount>
<Table>
<TableName>data</TableName>
<TableCode>1101</TableCode>
<Linkfield></Linkfield>
<TwothTableCount>1</TwothTableCount>
<TwothTable>
<TwothTableName>2thTable</TwothTableName>
<TwothTableCode>110101</TwothTableCode>
<Linkfield></Linkfield>
</TwothTable>
</Table>
</Database>
</DatabaseCatalog>
</Base>
ÉÏÃæÊÇxmlÎĵµ¡£ÎÒÏë¶ÁÈ¡TwothTableNameÕâ¸ö±êÇ©£¬¸ÃÔõô°ì£¿ÔÚ<Table>±êÇ©ÀïµÄ<Linkfield>£¬ºÍ <TwothTable>±êÇ©ÀïµÄ<Linkfield>ÕâÁ½¸ö¿ÉÒÔÓÃͬһ¸ö±êÇ©Ãû×ÖÂ
¿´ÕâÀXml³£ÓòÙ×÷£ºXMLÔöɾ¸Ä²é
http://topic
Ïà¹ØÎÊ´ð£º
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
±¾ÈËÕýÔÚÓÃJava×öÒ»¸öC/S¼Ü¹¹µÄÏîÄ¿£¬
¿ÉÊÇÓÉÓÚÏîÄ¿±È½Ï´ó£¬Ç°ÆÚ¶Ô¼Ü¹¹µÄÉè¼ÆÓÈÆäÖØÒª£¬ÒòΪºóÆÚ¿ÉÄÜËæÊ±»á¼Ó¸ö¹¦ÄÜ»òÕßÈ¥µôijЩ¹¦ÄÜ¡£
ËùÒÔÌØµØÑ°ÇóÈçºÎÉè¼ÆC/SµÄ¼Ü¹¹Ê¹³ÌÐò¸ü¼ÓÃæÏò¶ÔÏó¸ü¼ÓÒ×ÓÚά ......
ÔÚ¸ùĿ¼/libÖдæ·ÅÒ»¸ölog.c£¬log.h£¬²¢ÓÃÏÂÃæµÄÓï¾ä£º
gcc -c log.c
ar crv liblog.a log.o
±àÒë³öÒ»¸öliblog.a¾²Ì¬¿â£¬È»ºóÔÚÎļþ¼Ð£º/testfileÖд´½¨Ò»¸ötest.cºÍtestc.c£¬test.cÖÐÒýÓÃÁËtestc.cÖж¨ÒåµÄ·½·¨ ......
ΪʲôÎҵijÌÐòµ÷ÓÃXMLÅäÖÃÎļþÖеİ¢À²®ÎÄÏÔʾ²»³öÀ´£¿ÆäËûµÄÓïÖÖ¶¼¿ÉÒÔ£¬ÈçÖÐÎÄ£¬Ó¢ÎÄ£¬µÂÎͼ¿É¡£
ÎÒ½«XMLµÄ±àÂë¸ÄΪutf-8ºÍunicodeµÄµ½µÃ½á¹û¶¼Ò»Ñù.
°¢À²®ÎĵÄ×Ö¿âÄãÓÐô£¿
ÓÐ,ÎÒµÄEXEÊÇ·ÅÔÚpc»úÉÏÖ´Ðе ......