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

½«XML¶Áµ½datatableÖÐÖ®ºó£¬»¹ÒªÖ¸¶¨×ֶεÄÊôÐÔÂð£¿

ÈçÌ⣺


ÎÒ½«xml¶Áµ½datatableÖУ¬È»ºó¸ù¾ÝÒ»¶¨Ìõ¼þ²éѯָ¶¨ÐÐ

¶Áxmlµ½datatableº¯Êý£º
  private static bool readTyreParaXml()
        {
            bool res = true;
            dt = null;
            try
            {
                string[] keys = new string[1];
                keys[0] = "ID";
                dt = tyrePara.readXMLToDataTable(keys);
            }
            catch
            {
                res = false;
            }
            return res;
        }
²éѯµÄ·½·¨£º
string filter = ²éѯÓï¾ä£»

                DataRow[] dr = dt.Select(filter);
û¿´Ã÷°×ÎʵÄÊÇʲô¡£ÏÖÔÚÕâôдÓÐʲôÎÊÌâÂð£¿

²éѯµÄʱºò£¬ÓÐʱÄܲé³öÀ´£¬ÓÐʱ²é²»³öÀ´°¡¡£
string filter = "outDiameter <= " + outDiameterMax + " and outDiameter >= " + outDiameterMin


Ïà¹ØÎÊ´ð£º

javascript ÈçºÎÔÚ±¾µØ´´½¨¶ÁдxmlÎļþ£¿

ÐèÒª¼æÈÝie firefox safari µÈä¯ÀÀÆ÷
IE ¿ÉÒÔÓÃFSO µ«ÊÇÔÚÆäËûä¯ÀÀÆ÷²»ÄÜÓÃ
Ò»°ãµÄä¯ÀÀÆ÷´¦ÓÚ°²È«¿¼ÂǶ¼²»ÔÊÐíJavaScript¶Áд±¾µØÎļþµÄ°É

XMLÎĵµÄÚÈÝÈçÏ£¨user.xml£©£º
<?xml version="1.0&qu ......

php¶ÁÈ¡XMLÊý¾ÝÎÊÌâ

ÎÒÊÇÏëÓÃPHP´ÓÊý¾Ý¿âÖжÁÈ¡Êý¾Ý£¬È»ºóдÈëxml£¬È»ºóFLASHÏÔʾXMLÖеÄÊý¾Ý
µ«ÊDZ¾µØ²âÊÔPHPÄܶÁ³öXML£¬´«µ½¿Õ¼äÀï¾Í¶Á²»³öÀ´ÁË£¬ÇëÎÊÔõô»ØÊÂ?

´íÎó´úÂëÈçÏÂ:
Fatal error: Cannot instantiate non-exis ......

ÕýÔò±í´ïʽ½âÎöxml£¿

RT
ÓÐûÓÐÔ´ÂëʵÀý£¡
лл£¡
²»ÊÇÓÐdom4jÕâÑùµÄ½âÎöxmlÎļþµÄ°üô ¸ÉÂï·ÇÒªÓÃÕýÔò£¿

Êܲ»ÁË£¡

Ã²ËÆ²»ÐаÉ



ÓУ¬ºÃ¼¸¸öÄØ£¬DOM,jdom£¬dom4j¡£¡£
¹þ¹þ£¡

ÓÉÓÚÎÒµÄxml±àÂë¸ñʽÓеãÎÊÌ⣬² ......

Çë½ÌÒ»¸ö¹ØÓÚXML¶ÁдµÄÎÊÌ⣿

ÏëÖªµÀÓÃdataset¶ÁдXMLÊÇÔõô°ìµ½µÄ£¬¶øÇÒÔõô´æÈëÊý¾Ý¿â£¿
ÓÃXML¶ÁдÓÖÔõôÄÜʵÏÖ£¿
Çë¸÷λ´óϺ°ï¸öæ~~~£¡
DataSet set = new DataSet();
set.ReadXml()

set.WriteXml

public static DataSet Con ......

×Ö¶ÎֵΪ¿ÕµÄXMLÎļþÈçºÎµ¼ÈëDATAWINDOW

ÓÐÕâÑùÒ»¶ÎÓÉ.netÉú³ÉµÄxml(ÓÉdatasetת»¯¶øÀ´):

<NewDataSet> <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata=& ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ