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:\Program Files\Microsoft Visual Studio 8\Common7\IDE\Usre.mdb'¡£
´úÂ룺conn.ConnectionString = "Provider=Microsoft.Jet.oledb.4.0;Data Source=" + Server.MapPa ......
rt
Ò»°ãÀ´Ëµ»¹ÊÇѧϰºóÕߺà µ«ÊÇÖ÷Òª¿´ÄãµÄ¾ÍÒµ·½ÏòÊÇÄĸö
¸ç¸ç£¬
¶¼É¶Äê´úÁË
·¢Õ¹Àú³Ì£ºasp -> asp.net -> asp.net ajax -> asp.net mvc ->wpf
Ä㻹ѧasp£¬ÄÇÊÇ2000ÄêÒÔǰµÄ¼¼Êõ¡£ ......
ÔÚ¹«Ë¾¾Àí¸øÁËÎÒÕâÑùÒ»¸öÏîÄ¿£º
ÏîÄ¿ÒÔǰÒѾ¿ª·¢ÁË£¬ÓÃASP¿ª·¢µÄ£»
ÏÖÔÚ½«ÆäÖÐÒ»¸öÄ£¿éÓÃASP.NETÖØÐ¿ª·¢£»
ÊÔÎÊ£ºÔõô°ì£¿
Ô½ÏêϸԽºÃ£¬×îºÃÊǽáºÏʵ¼Ê¿ª·¢£¬O(¡É_¡É)Oлл
ÓеÀÀ ......
asp.net ÖÐÊý¾Ý¿âÖÐÓÐÒ»´ó¶ÎÎÄ×ÖÄÚÈÝ£¬Æä×Ó¶ÎΪnewscontent ÏÔʾ³öÀ´¡£ÓÃitemTemplate ÖеÄlable¿Ø¼þ°ó¶¨ÏÔʾ
µ«Êý¾Ý¿âÖÐÄÚÈÝÏÔʾÔÚÍøÒ³Öв»»á»»ÐС£¹Ê¸ÄÓÃ×Ô¶¨ÒåÏÔʾ·½Ê½ÄÚÈÝΪReplace(Eval("newscontent&q ......
ÏÖÔÚÓöµ½Õâôһ¸öÎÊÌ⣬´ÓFTPÉÏÏÂÔØÎļþ£¬ÆäÖÐÓÐÁ½¸ö·½Ê½£¬Ò»ÖÖÊÇÒ»¸öÎļþÒ»¸öÎļþµÄÏÂÔØ£¬
ÁíÍâÒ»¸öÊÇÈ«²¿ÏÂÔØ£¬Ò»¸öÒ»¸öÎļþµÄÏÂÔØÒѾʵÏÖÁË£¬µ«ÊǾÍÊÇÈ«²¿ÏÂÔØµÄûÓÐʵÏÖ£¬
ÎÒÏëµÄ˼·ÊÇÏÂÔØµ½Îļþ·þÎñÆ÷ ......