Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

C# DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí

DataSetµ¼³öxml Åú´¦Àí(Ñ­»·)µÃÔõô´¦Àí
XMLÎļþ
<A>
      <B>
        <C>
        </C>
      </B>
  </A>
×Ô¶¯±£´æµ½C½á½Ú °´ÐÐÄÚÈÝÒýÈë
Ò»ÐÐдÐÐ,ÍüÁËÅú´¦ÀíÒªÔõôŪÁË ÄĸöºÃÐÖÄÜÌù¶Î´úÂë³öÀ´»òÖ¸½ÌÒ»ÏÂ
²Î¿¼

DataSetµÄÖÐÓиö
writeXml()º¯Êý

C# code:
private void DataGridViewBind()
{
try
{
DataTable table = new DataTable("item");
table.Columns.AddRange(new DataColumn[]
{
new DataColumn("id"),
new DataColumn("DomainName1"),
new DataColumn("DomainDescribe1"),
new DataColumn("DomainRegDate1"),
new DataColumn("DomainDeadDate1")
});
table.Columns["id"].DataType = typeof(Int32);
table.ReadXml(FileName); //¶ÁÈ¡xmlÎļþ
set.Tables.Add(table);
dataGridView1.DataSource = set.Tables[0]; //ÉèÖÃdataGridViewµÄÊý¾ÝÔ´
}
catch (Inde


Ïà¹ØÎÊ´ð£º

c# µ¼³ö´¿Õæip¿âµ½sqlserver

ÎÒÏë°Ñ´¿Õæip¿âµ¼³öµ½sqlserver£¬ÎÒÓÃϱߵĽéÉÜ·½·¨£¬£¨ËüÖ÷ÒªÊǵ¥¸öIP²éѯµÄ£©
http://www.cnblogs.com/njnudt/archive/2007/04/08/704524.html
¸ÄÁËÒ»ÏÂÄܹ»µÃµ½ËùÓеĹú¼ÒºÍµØÇøÐÅÏ¢£¬µ«ÊDz»Äܵõ½ipµØÖ·µ ......

C#Á¬½ÓSQLÊý¾Ý¿âÁ¬²»ÉÏ£¿

SqlConnection conn = new SqlConnection("server = (local)\\sqlexpress;integrated security = SSPI;database = Northwind");
            conn.Open();
Á¬½Ó²»ÉÏ£ ......

¸Õ²Åc#תjava£¬ÏëÎÊÒ»ÏÂjavaÓÐÏñdatatableµÄ¶«Î÷Âð?

javaÌáÈ¡Êý¾ÝÓÐÄü¸ÖÖ·½·¨£¿
˵µÄ²»Ì«Ã÷°×  datatable ûÌý˵¹ý¡£

C#ÖÐÄãÓõÄÊǿؼþ¡£ÔÚjavaÖÐÓ¦¸ÃÓÐÕâÑùµÄ¿ªÔ´³ÌÐò¡£²»¹ý´ÓÎÒ¿ª·¢À´½²£¬ÎÒ¶¼ÊÇ×Ô¼ºÐ´µÄtable¡£

javaÊÇָʲô£¿
javaSE --ÓÐÀàËÆdatat ......

FlashÖеÄXML¶ÔÏóµÄÊôÐÔÎÊÌâ

ÔÚ¿´Ò»¶ÎAS´úÂëʱÓöµ½¼¸¸öÒÉÎÊ¡£
ÔÚFlashÖеÄXML¶ÔÏóòËÆÓÐÒ»¸öchildÊôÐÔ
ÇëÎÊ
1.childÊôÐÔºÍchildNodesÓÐʲôÇø±ð£¿
2.ASÖÐÓÐintÊý¾ÝÀàÐÍÂð£¿AS3.0ÖÐÓÐÂð£¿
´úÂëÖÐÓõ½ÁË´ËÀàÐÍ¡£
3._name¡¢_pare ......

³õѧ£º·µ»Øxml×Ö·û´®µÄ´¦ÀíÎÊÌ⣿

·µ»ØÈçÏÂxml×Ö·û´®£º
<?xml version="1.0" encoding="utf-8" ?>
<DeliverMsg xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ