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

asp.netÉÏ´«ÎļþµÄ¼¸ÖÖ·½·¨£¨ÓëagsÎ޹أ©

ת×Ô£ºhttp://www.gisall.com/?uid-7232-action-viewspace-itemid-1300
ÓÉÓÚÓõ½ÁËÎļþÉÏ´«¹¦ÄÜ£¬¾Í²éÁËһϡ£Óм¸ÖÖ°ì·¨À´ÔÊÐí¿Í»§¶ËÉÏ´«Îļþ£º
1¡¢asp.net×Ô¼ºµÄfileupload¿Ø¼þ¡£È±µã£ºÖ»ÄÜÔÚpostback·½Ê½Ï¹¤×÷£¬¼´Ê¹·ÅÔÚupdatapanelÖÐÒ²±ØÐëË¢ÐÂÒ³Ãæ²ÅÐС£ÏÖÔÚŪ¸öË¢ÐÂÒ³ÃæµÄ¶«Î÷»áºÜûÃæ×Ó£¬ËùÒÔÒªÉÏajaxµÄ¡£ÏÂÃ漸¸ö¶¼ÊÇ¡£
µÚÈý·½¿Ø¼þ°ì·¨£¨ÊÔÁ˺ü¸¸ö£¬´ó¼Ò¾Í²»Óöà×ßÍä·ÁË£©£º
2¡¢ajax uploader¡£ÊÇasp.netµÄ¿Ø¼þ£¬ÍÏ·Å¿ÉÓá£ÓкܶàÊôÐÔ¿ÉÒÔÖ±½ÓÉèÖ᣷½±ã£¬Ö§³Ö½ø¶ÈÏÔʾ£¬¶àÎļþͬʱÉÏ´«µÈ£¬ÑùʽҲ¿ÉÒÔ×Ô¶¨Òå¡£ÖÂÃüÖ®´¦¾ÍÊÇ×îÉÙÐèÒª99ÃÀÔª£¬ÐèÒªÔ´´úÂëµÄ»°ÉϽ»3999ÃÀÔª¼´¿É¡£ÊÔÓðæ30Ìì¹ýÆÚ¡£ÐèÒªµã»÷Ìá½»°´Å¥
3¡¢swfupload¡£ÕâÊÇ´ó¼ÒÍƳç×î¶àµÄÒ»¸ö¿Ø¼þ£¬¿ªÔ´Ãâ·Ñ£¬²ÉÓÃswfÓëjs½áºÏµÄ·½Ê½¡£Ö§³Ö½ø¶ÈÏÔʾ£¬¶àÎļþͬʱÉÏ´«£¬¶àÖÖÑùʽ£¬Ö§³Ö×Ô¶¨Òå¡£ºÜ¶àÉÌÒµÍøÕ¾Ò²²ÉÓõÄÊÇÕâ¸ö¿Ø¼þ¡£Ð§¹û²»´í£¬ÅäÖÃÉÔÏÔÂé·³¡£Ö§³Öphp£¬jspµÈÆäËûÓïÑÔ¡£ÐèÒªµã»÷Ìá½»°´Å¥
4¡¢fileuploadajax¡£ÊÇÒ»¸öÎ÷°àÑÀÓïϵµÄ×÷ÕßдµÄ£¬»¹ºÃÓÐÈË·­Òë³ÉÁËÓ¢ÎÄ(µ«Óеĵط½Ã»Óз­Íê)¡£ÊÇÔÚfileuploadÉÏÀ©Õ¹µÄ£¬Ê¹Óüò±ã£¬Ò²ÌṩÁ˶àÖÖÊôÐÔ¹©×Ô¶¨Ò壬֧³Ö¶à¸öÎļþͬʱÉÏ´«£¬µ«Ã»Óнø¶ÈÌõ¡£ÓëgamilÀàËÆ£¬Ñ¡ÔñºóÁ¢¼´ÉÏ´«
ÉÏÃæÊǼ¸¸öºÃÓõĿؼþ£¬»¹ÊÇÁËÆäËûһЩ£¬µ«Ð§¹û¶¼²»ÀíÏë¡£¸öÈ˸оõÓÃ4×ã¹»ÁË£¬Òª×·ÇóЧ¹ûµÄ»°¿ÉÒÔÓÃ3¡£
ʣϵķ½·¨¾ÍÊÇ×Ô¼ºÀ´Ð´ÁË£¬Á½ÖÖ·½Ê½£º
5¡¢ÓÃiframeÒþ²ØÒ»¸öÒ³Ã棬ÉÏ´«¿Ø¼þ·ÅÔÚÒþ²ØÒ³Ã棬ÉÏ´«Ê±Ë¢ÐÂÒþ²ØÒ³Ã棬´ïµ½"ajaxЧ¹û";ÕâÓÐÒ»¸ö¼òµ¥µÄÀý×Ó£¬µ«ÊDz»Ö§³Öffx
6¡¢¶¯ÊÖÄÜÁ¦Ç¿µÄ»°¿ÉÒÔ×Ô¼ºÐ´xmlhttprequest……
¹ØÓÚ´óÎļþÉÏ´«ºÍ¶ÏµãÐø´«£ºÃ»ÓÐ×ÐϸÑо¿ÉÏÃæµÄ·½·¨ÄÄЩ֧³ÖÕâÁ½¸öÒªÇó¡£ÎÒÏëgisÏîÄ¿ÖÐÄÜÓõ½ÕâЩµÄÓ¦¸Ã²»¶à£¬ÎÒÕâ´ÎµÄÐèÇóÊÇÈÃÓû§ÉÏ´«Í¼Æ¬¡£
Èç¹ûÓиüºÃµÄ°ì·¨·³Çë´ó¼ÒÀ´²¹³ä


Ïà¹ØÎĵµ£º

ASP.NET ÑÝÁ·£ºÒÔ±à³Ì·½Ê½¿ØÖÆ ASP.NET ²Ëµ¥


±¾ÑÝÁ·Í¨¹ýʹÓôúÂëЭµ÷ͬһҳÉϵÄÁ½¸ö²Ëµ¥£¬ÑÝʾÈçºÎÒÔ±à³Ì·½Ê½Ê¹Óà ASP.NET Menu ¿Ø¼þ¡£
¿ÉÒÔʹÓà ASP.NET Menu ¿Ø¼þΪÍøÕ¾´´½¨µ¼º½²Ëµ¥¡£ÔÚ±¾ÑÝÁ·ÖУ¬½«¿¼²ì ASP.NET Menu ¿Ø¼þµÄ±à³Ì·½Ã棬²¢´´½¨Á½¸öЭͬ¹¤×÷µÄ²Ëµ¥£¬ËüÃǶ¼°ó¶¨µ½Í¬Ò»¸ö Web.sitemap Îļþ¡£µÚÒ»¸ö²Ëµ¥ÊǾ²Ì¬ÏÔʾµÄÀà±ð£¨Èç²úÆ·¡¢·þÎñºÍÖ§³Ö£©²Ëµ¥¡£Ë ......

asp.netÁ¬½Ósql

µ÷ÓÃÊý¾ÝÁ¬½ÓÁ½ÖÖ·½·¨
1.web.config £¨ÅäÖÃÎļþ£© ÖÐ
<appSettings>
<add key="ConnectionString" value="server=localhost\sqlexpress;uid=sa;pwd=123456;database=News"/>
</appSettings>
µ÷ÓõÄʱºò
string strConn = System.Configuration.ConfigurationManager.AppSettings["ConnectionString ......

Asp.netÖлùÓÚFormsÑéÖ¤µÄ½ÇÉ«ÑéÖ¤ÊÚȨ[Ô­Àí¼°Á÷³Ì]

 
Asp.netµÄÉí·ÝÑéÖ¤ÓÐÓÐÈýÖÖ£¬·Ö±ðÊÇ"Windows | Forms | Passport"£¬ÆäÖÐÓÖÒÔFormsÑéÖ¤ÓõÄ×î¶à£¬Ò²×îÁé»î¡£
Forms ÑéÖ¤·½Ê½¶Ô»ùÓÚÓû§µÄÑéÖ¤ÊÚȨÌṩÁ˺ܺõÄÖ§³Ö£¬¿ÉÒÔͨ¹ýÒ»¸öµÇ¼ҳÃæÑéÖ¤Óû§µÄÉí·Ý£¬½«´ËÓû§µÄÉí·Ý·¢»Øµ½¿Í»§¶ËµÄCookie£¬Ö®ºó´ËÓû§ÔÙ·ÃÎÊÕâ¸öwebÓ¦ÓþͻáÁ¬Í¬Õâ¸öÉí·ÝCookieÒ»Æð·¢Ë͵½·þÎñ¶Ë¡ ......

ASP.NETµÄÍêÈ«¿ÉÊÓ»¯Ajax¿ª·¢²âÊÔ

ÎÒ×Ô¼ºÐ´¸ö¿ìËÙÈëÃŵÄASP.NETµÄÍêÈ«¿ÉÊÓ»¯Ajax¿ª·¢£¬ÓÃVisual studio2008ÀïÃæ×Ô´øµÄAJAX Extensions¿Ø¼þ¡£
1£¬Ê×ÏÈ£¬ÍùÒ³ÃæÀïÃæקһ¸öScriptManager¿Ø¼þ£¨×¢²á½Å±¾£¬±ØÐëÔÚËùÓзþÎñÆ÷¿Ø¼þ֮ǰ³öÏÖ£©
2£¬ÍùÒ³ÃæÀïקһ¸öUpdatePanel¿Ø¼þ£¨¾Ö²¿Ë¢Ð¿ؼþ£©
3£¬ÔÚUpdatePanel¿Ø¼þµÄÃæ°åÀקһ¸öTextBox¿Ø¼þTextBox1ºÍÒ»¸öLa ......

ASP.NETÒ³Ãæˢз½·¨×ܽá


 ASP.NETÒ³Ãæˢз½·¨×ܽá
ÏÈ¿´¿´ASP.NETÒ³ÃæˢеÄʵÏÖ·½·¨£º
µÚÒ»£º
private void Button1_Click( object sender, System.EventArgs e ) { Response.Redirect( Request.Url.ToString( ) ); } µÚ¶þ£º
private void Button2_Click( object sender, System.EventArgs e ) { Response.Write( " < script lang ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ