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

C# asp.netÖеÄlabelÏÔʾÎÊÌâ

ÎÒÓÃC#±àasp.netÍøÒ³¡£ÔÚÒ»¸ö°´Å¥button1ÖУ¬ÓÐÒ»¶Î´úÂëÔËÐÐʱ¼ä½Ï³¤£¬ÓÚÊÇÎÒÏëÔÚ°´Å¥°´ÏÂÖ®ºó£¬ÓÃÒ»¸ölabel1À´ÏÔʾһС¶Î×Ö·û£ºlabel1.text="ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."£¬È»ºóÔÚbutton1´úÂëÖ´ÐеÄ×îºóÒ»ÐдúÂëÉÏÔÙÏûÈ¥label×Ö·û£ºlabel1.text="".µ«ÔËÐнá¹ûÈ´ÊÇûÓÐÏÔʾlabel1µÄÈκδúÂ룬ÎÒ½«ÏûÈ¥label1×Ö·ûµÄ´úÂë×¢Ïúºó£¬·¢ÏÖËùÓдúÂ붼ÔËÐÐÍêÖ®ºó£¬²Å³öÏÖ"ÕýÔÚ²éѯÖУ¬ÇëÉÔµÈ..."×ÖÑù£¬ÕâÊÇÔõô»ØÊÂÄØ£¿ÎÒÓÃÁËajax+asp.net¡£
´úÂëÌù³öÀ´³ò³ò£¡£¡

protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text ="²éѯÖУ¬ÇëÉÔºó...";
            //Êý¾Ý¿â²éѯ¼°´¦Àí´úÂëÒ»´ó¶Î
              Label1.text="";
        }

ÒòΪִÐÐʱ¼äÉÔ³¤£¬ËùÒÔÏ£ÍûÓû§ÔÚ°´Ï°´Å¥µÄʱºò£¬ÄÜ¿´¼ûÌáʾÐÅÏ¢£¬ÔÚ´¦ÀíÍê±Ïºó£¬ÌáʾÐÅÏ¢ÔÙÏûʧ£¬µ«ÏÖÔھͲ»ÊÇÕâÑùµÄ£¬¶øÊÇÔÚÖ´ÐÐÍêËùÓдúÂëºó£¬ÔÙ³öÏÖÌáʾÐÅÏ¢ÁË¡£


protected void Button1_Click(object sender, EventArgs e)
        {
            Label1.Text ="²éѯÖУ¬ÇëÉÔºó..."; //ͨË×µÄ˵Õâ¾ä´úÂë»á±»ÏÂÃæµÄLabel1.text=""£»¸²¸Ç
            //Êý¾Ý¿â²éѯ¼°´¦Àí´úÂëÒ»´ó¶Î
              Label1.text="";
        }


ÓÃJQuery.ajaxÂ


Ïà¹ØÎÊ´ð£º

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

c# ÓÐûÓÐÓÃÓÚC/SµÄ htmlÎı¾±à¼­Æ÷

¾ÍÏñweb½çÃæµÄÎı¾ÄÚÈݱ༭Æ÷


up

C/S»¹Òª±àÒëÆ÷¸ÉÂï°¡
ÓÖ²»ÓÿØÖÆÑùʽ
òËÆûÓаɠ Èç¹ûÓÐÁË֪ͨÏÂÎÒ  ÎÒÒ²Òªliujintaohfbb@163.comÎÒµÄÓÊÏä ......

ΪʲôÓÃc#×öµÄaspÍøÒ³ÓÃIE´ò²»¿ª£¿

adpx¸ñʽµÄ£¬ÓÃIE´ò¿ªÌáʾ

ÎÞ·¨ÏÔʾ XML Ò³¡£
ʹÓà XSL Ñùʽ±íÎÞ·¨²é¿´ XML ÊäÈë¡£Çë¸üÕý´íÎóÈ»ºóµ¥»÷ ˢа´Å¥£¬»òÒÔºóÖØÊÔ¡£


---------------------------------------------------------- ......

?!¹ØÓÚASP³ÌÐòÆäÖÐһģ¿é¸üÐÂΪASP.NET³ÌÐòµÄÎÊÌâ¡£

ÔÚ¹«Ë¾¾­Àí¸øÁËÎÒÕâÑùÒ»¸öÏîÄ¿£º

ÏîÄ¿ÒÔÇ°ÒѾ­¿ª·¢ÁË£¬ÓÃASP¿ª·¢µÄ£»
ÏÖÔÚ½«ÆäÖÐÒ»¸öÄ£¿éÓÃASP.NETÖØпª·¢£»

ÊÔÎÊ£ºÔõô°ì£¿

Ô½ÏêϸԽºÃ£¬×îºÃÊǽáºÏʵ¼Ê¿ª·¢£¬O(¡É_¡É)Oлл


ÓеÀÀ ......

asp.netÖÐÓйØÊý¾Ý°ó¶¨µÄÎÊÌâ

asp.net ÖÐÊý¾Ý¿âÖÐÓÐÒ»´ó¶ÎÎÄ×ÖÄÚÈÝ£¬Æä×Ó¶ÎΪnewscontent ÏÔʾ³öÀ´¡£ÓÃitemTemplate ÖеÄlable¿Ø¼þ°ó¶¨ÏÔʾ
µ«Êý¾Ý¿âÖÐÄÚÈÝÏÔʾÔÚÍøÒ³Öв»»á»»ÐС£¹Ê¸ÄÓÃ×Ô¶¨ÒåÏÔʾ·½Ê½ÄÚÈÝΪReplace(Eval("newscontent&q ......

qqµ¯³ö¿ò£¬Äܹرգ¬ÔÚasp.netµÄÍøÒ³ÖÐÈçºÎʵÏÖ

ÎÒÏëÒªÒ»¸öºÍqqÒ»ÑùµÄµ¯³ö¿ò£¬Äܹ»¹Ø±Õ£¬²»ÊÇ×Ô¶¯µÄ£¬¶øÊÇÊÖ¶¯µÄÄÇÖÖ£¬ÔÚµ¯³ö¿òÖÐÎÒÏë¼ÓÒ»¸öÊÓƵ£¬²»ÖªÓÐûÓÐÈË×ö¹ý°¡£¬ÔÚÏߵȰ¡£¬Ï£ÍûÓÐÈËÄܸøÎÒ·¢¸öʵÀý´úÂ룬ÔÚÏߵȣ¬
²»ÖªµÀÄãҪʲôЧ¹û£¬

²»¹ýÒ²¿Ï¶¨ÊÇ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ