C# »ñÈ¡xmlÀïÃæµÄÐÅÏ¢ - .NET¼¼Êõ / C#
XML code:
<soapenv:Body>
<LoginResponse xmlns="http://mediax.huawei.com/webservice/types">
<code xsi:type="xsd:int" xmlns="">200</code>
<description xmlns="">Success</description>
<profile xmlns="">
<userID>1</userID>
<account>
<name>admin</name>
<type>WEB</type>
<password>system</password>
</account>
<purviewIDs>USER_DELETE</purviewIDs>
<purviewIDs>CONFERENCE_DEAF_SELF</purviewIDs>
<purviewIDs>CONFERENCE_MODIFY_ONCE_ORG</purviewIDs>
<session>6545101274068923401846000-1270015060</session>
</profile>
</LoginResponse>
</soapenv:Body>
Ôõô·Ö±ð»ñÈ¡ÀïÃæµÄÖµ£º
string code = "200"
string description = "Success"
string userID = "1"
string name = "admin"
string type = "WEB"
string password = "system"
string[] purviewIDs = new string[3] { "USER_DELETE", "CONFERENCE_DEAF_SELF", "CONFERENCE_MODIFY_ONCE_ORG" }
×¢£ºpurviewIDs µÄ
Ïà¹ØÎÊ´ð£º
txt ºÍXML ¸ñʽÏàÓ¦
²»½èÖúDataSet
µ¼Èë¶ÁÈ¡TXTÎļþ
È»ºóÖ±½ÓдÈëXML(ͬһÎļþ,²»Í¬Êý¾Ý,µÝÔöÔÊý¾ÝûÓб»¸²¸ÇÇé¿öÏÂÔö¼ÓÊý¾Ý.)
½Ì¸öÒªµã»ò×îºÃÊÇÓиö´úÂëÌáʾµÄ
¹ý·ºÃºº °ï¸öæÈö^^
²»»á£¬°ïÂ¥Ö÷ ......
DataSetµ¼³öxml Åú´¦Àí(Ñ»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
<B>
<C>
</C>
&nb ......
<?xml version="1.0" encoding="utf-8" ?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical&q ......
Private Sub Command1_Click()
Dim MyString() As String
Open "a.xml" For Binary As #1 ' ´ò¿ª¸Õ´´½¨µÄÎļþ¡£
ReDim MyString(LOF(1) - 1)
Put #1, , MyRecord ' ¶ÁÈëËùÓÐ×Ö·ûµ½±äÁ¿ÖÐ ......
ÔھƵê¹ÜÀíϵͳÖÐ,ÓÐÒ»¸ö¶ÔÄÚµÄϵͳ,¹©Ç°Ì¨·þÎñÔ±ºÍ¾ÀíʹÓÃ
»¹ÓÐÒ»¸ö¾ÍÊǶÔÍâ,Èÿͻ§¿ÉÒÔÔÚÍøÉÏÔ¤¶©·¿¼ä,
ËüÃÇÖ®¼äÊÇÔõôͨѶµÄ.?µ±ÎÒÌá½»Ô¤¶©·¿¼äÐÅÏ¢µÄʱºò,
ÔÚ¶ÔÄÚµÄϵͳÖÐ,ÈçºÎÖªµÀÎÒÒѾÌá½»ÁËÐÅÏ¢¹ýÈ¥.Ê¹Ç ......