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

XMLÔö\ɾ¡¢¸Ä¡¢²é¼òµ¥²Ù×÷

  protected void Page_Load(object sender, EventArgs e)
    {
        lblValue.Text = string.Format("{0:N}", 2500000);
        lblValue.Text = string.Format("{0:C3}", 2);
        // ¼ÓÔØʱ²»»º´æÊý¾Ý
        Response.Cache.SetNoStore();
        if (!IsPostBack)
        {
            // ³õʼ»¯Ò³ÃæÏÔʾ
            ShowXml();
        }
    }
    // ³õʼ»¯Ò³ÃæÏÔʾ
    private void ShowXml()
    {
        // »ñÈ¡xmlÊý¾Ý
        string url = Server.MapPath("user.xml");
        StreamReader sr = new StreamReader(url, System.Text.Encoding.GetEncoding("GB2312"));
        // ²Ù×÷xmlÎĵµ
        XmlDataDocument xmlDataDocument = new XmlDataDocument();
        // ½«¶ÁÈ¡µÄ×Ö½ÚÁ÷±£´æµ½DataSetÖÐ
        xmlDataDocument.DataSet.ReadXml(sr);
        this.DataGrid1.DataSource = xmlDataDocument.DataSet.Tables[0].DefaultView;
        // ¶¨ÒåÏÔʾID
        this.DataGrid1.DataKeyField = "username";
        this.DataGrid1.DataBind();
        xmlDataDocument = null;
        sr.Close();
    }
    protected override void OnInit(EventArgs e)
    {


Ïà¹ØÎĵµ£º

AS3.0¼ÓÔØÍⲿXMLÎļþ

¼ÓÔØÍⲿµÄXMLÎļþ£¬ÎļþÃûÊÇ1.xml;
<?xml version="1.0" encoding="utf-8"?>
<website>
<name a="Ãû×Ö1">ÖÜС´¨1</name>
<name a="Ãû×Ö2">ÖÜС´¨2</name>
<name a="Ãû×Ö3">ÖÜС´¨3</name>
<name a="Ãû×Ö4">ÖÜС´¨4</name>
<name a="Ãû×Ö5"> ......

Ajax ºÍ XML: ÎåÖÖ Ajax ·´Ä£Ê½

ͨ¹ýÀí½â´íÎóµÄ±àÂ뷽ʽ£¬¿ÉÒÔ¸üºÃµØÁ˽âÈçºÎÕýÈ·µØ½øÐбàÂë¡£µ±È»£¬±àд Asynchronous JavaScript™ +
XML£¨Ajax£©ÓÐÕýÈ·µÄ·½·¨£¬Ò²ÓдíÎóµÄ·½·¨¡£±¾ÎĽ«ÌÖÂÛһЩÐèÒª±ÜÃâµÄ³£¼û±àÂëʵ¼ù¡£
Èç¹ûÈËÃÇÔÚµÚÒ»´Î¾ÍÄܹ»½«ËùÓÐÊÂÇéÈ«²¿×ö¶Ô£¬ÄÇôÕâ¸öÊÀ½ç½«±äµÃÍêÈ«²»Í¬¡£Ajax Ò²ÊÇÈç´Ë¡£ÎÒ×öÁË´óÁ¿µÄ¹¤×÷ÒÔÖ§³Ö Ajax
......

Ajax ºÍ XML: ÎåÖÖ³£¼û Ajax ģʽ

Asynchronous JavaScript + XML£¨Ajax£©ÎÞÒÉÊÇ 2006 Äê×îÈÈÃŵļ¼ÊõÊõÓÇÒÓÐÍûÔÚ
2007 µÃµ½½øÒ»²½·¢Õ¹¡£µ«ÊǶÔÄúµÄÓ¦ÓóÌÐòÀ´ËµËü¾¿¾¹ÓÐʲôÒâÒåÄØ£¿Ajax Ó¦ÓóÌÐòÖÐÄÄÒ»ÖÖ³£¼û¼Ü¹¹Ä£Ê½Ó¦ÓÃ×î¹ã·ºÄØ£¿±¾ÎĽ«½éÉÜÎåÖÖ³£¼û
Ajax Éè¼Æģʽ£¬¿ÉÒÔʹÓÃËüÃÇ×÷Ϊ¹¤×÷µÄ»ù´¡¡£
µÄÈ·£¬Ajax
ÊÇ Web 2.0
ÈÈÃÅÊõÓËùÓÐÈ˶¼Ï£Íû ......

XML WebServiceÍêȫʵÀýÏêϸ½âÎö

Ê×ÏÈ,ÎÒÃDZØÐëÁ˽âʲôÊÇwebservice.¾Í¸ÅÄîÉÏÀ´Ëµ,¿ÉÄܱȽϸ´ÔÓ,²»¹ýÎÒÃÇ¿ÉÒÔÓиöºê¹ÛµÄÁ˽â:webservice¾ÍÊǸö¶ÔÍâµÄ½Ó¿Ú,ÀïÃæÓÐ º¯Êý¿É¹©Íⲿ¿Í»§µ÷ÓÃ(×¢Òâ:ÀïÃæͬÑùÓпͻ§²»¿Éµ÷Óõĺ¯Êý).¼ÙÈôÎÒÃÇÊÇ·þÎñ¶Ë,ÎÒÃÇдºÃÁ˸öwebservice,È»ºó°ÑËü¸øÁË¿Í»§(ͬʱÎÒÃǸøÁËËû Ãǵ÷ÓùæÔò),¿Í»§¾Í¿ÉÒÔÔÚ´Ó·þÎñ¶Ë»ñÈ¡ÐÅϢʱ´¦ÓÚÒ»¸öÏ ......

SQL Server¸ù¾Ý²éѯ½á¹û,Éú³ÉXMLÎļþ

SQL Server¸ù¾Ý²éѯ½á¹û,Éú³ÉXMLÎļþ
À´Ô´£º²»Ïê  ×÷ÕߣºØýÃû  Ê±¼ä£º2009-3-6 22:15:58 ·¢²¼£ººÚ¿ÍÈí¼þÔ°
/*
'bcp' ²»ÊÇÄÚ²¿»òÍⲿÃüÁҲ²»ÊÇ¿ÉÔËÐеijÌÐò£¿
¿´¿´ÔÚC:\Program Files\Microsoft SQL Server\80\Tools\BinnÀïÃæÓÐûÓÐbcp.exeÕâ¸öÎļþ
È»ºó¿´¿´pathÀïÃæ¼ÓC:\Program Files\Microso ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ