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

asp.netÖÐ×Ô¶¯¸½¼ÓÊý¾Ý¿âµÄ´úÂë


Ö±½Ó°ÑÊý¾Ý¿â·ÅÖÃApp_dataÎļþ¼ÐÖУ¬Ìí¼ÓÒ»¸öweb.configÅäÖÃÎļþÈ»ºóдÈçÏ´úÂë
<connectionStrings>
    <add name="users" connectionString="Data Source=.\SQLEXPRESS;AttachDbFilename=|DataDirectory|Users.mdf;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />
  </connectionStrings>


Ïà¹ØÎĵµ£º

asp.net Êý¾Ý¿â²Ù×÷

ASP.NET²Ù×÷Êý¾Ý¿â
ͨ¹ý¶ÔADO.NETµÄ»ù±¾½²½â£¬ÒÔ¼°½²½âÁËһЩÊý¾ÝÔ´¿Ø¼þµÄ»ù±¾Ó÷¨ºó£¬±¾Õ½«½éÉÜһЩASP.NET²Ù×÷Êý¾Ý¿âµÄ¸ß¼¶Ó÷¨£¬°üÀ¨Ê¹ÓÃSQLHelper£¬ÒÔ¼°Êý¾ÝÔ´¿Ø¼þ¶ÔÊý¾ÝµÄ²Ù×÷¡£±¾ÕÂÊǶÔÇ°ÃæµÄÊý¾Ý¿â֪ʶµÄÒ»ÖÖ²¹³äºÍÌáÉý¡£
9.1  ʹÓÃADO.NET²Ù×÷Êý¾Ý¿â
ÉÏÒ»ÕÂÖнéÉÜÁËADO.NETµÄ»ù±¾¸ÅÄî¡¢ADO.NETµÄ¶ÔÏó£¬ÒÔ¼ ......

Õ¾µãµØͼÔÚASP.NETÍøÒ³Öеĵ¼º½×÷ÓÃ

    ÔÚASP.NET2.0ÖУ¬ÎªÎÒÃÇÌṩÁËÁ½ÖÖй¦ÄÜ£¬·½±ãÎÒÃÇÖÆ×÷¹²Í¬ÌØÕ÷Ò»ÖµÄÒ³ÃæºÍµ¼º½¡£ÕâÁ½ÖÖ¹¦ÄÜÊÇĸ°åÒ³ºÍÍøÕ¾µ¼º½¡£¶ÔÓÚĸ°åÒ³´ó¼ÒºÜÇå³þÁË£¬²»¹ýÔÚ×öĸ°åҳʱ£¬¾­³£ÐèÒªÌí¼Óµ¼º½À¸£¬¶ÔÓÚ´Ëasp.net 2.0 ʹÎÒÃǵŤ×÷´óΪ¼ò»¯¡£Õâ±ãÊÇÕ¾µãµØͼµÄʹÓá£
    ¹ËÃû˼Ò壬վµãµØͼ¾ÍÊÇÔÚÕ¾µã ......

Á˽âʹÓà ASP.NET AJAX ½øÐоֲ¿Ò³Ãæ¸üÐÂ

Á˽âʹÓà ASP.NET AJAX ½øÐоֲ¿Ò³Ãæ¸üÐÂ
¼ò½é
MicrosoftµÄ ASP.NET ¼¼ÊõÌṩÁËÒ»¸öÃæÏò¶ÔÏó¡¢Ê¼þÇý¶¯µÄ±à³ÌÄ£ÐÍ£¬²¢½«ÆäÓëÒѱàÒë´úÂëµÄÓÅÊƽáºÏÆðÀ´¡£µ«Æä·þÎñÆ÷¶ËµÄ´¦ÀíÄ£ÐÍÈÔ´æÔÚ¼¼Êõ±¾ÉíËù¹ÌÓеļ¸µã²»×㣺
½øÐÐÒ³Ãæ¸üÐÂÐèÒªÍù·µ·þÎñÆ÷£¬Òò´ËÐèÒªÒ³ÃæˢУ»
À´»ØÍù·µ²»»á±£Áô Javascript »òÆäËû¿Í»§¶Ë¼¼Êõ£¨Èç Ad ......

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 ......

תÔØ ASP.NETÏÂÔØÎļþ´úÂë

ÈçºÎͨ¹ýASP.NETÀ´ÏÂÔØÎļþ£¬Õâ¸öÎÊÌâÎÒÃǾ­³£Óöµ½£¬°Ñ³£Óõķ½·¨×ܽᵽһÆð£¬Ñ§Ï°Ñ§Ï°¡£µ±ÎÒÃÇÒªÈÃÓû§ÏÂÔØÒ»¸öÎļþ£¬×î¼òµ¥µÄ·½Ê½ÊÇͨ¹ýResponse.RedirectÖ¸Á
Response.Redirect("test.doc")
Äú¿ÉÒÔ°ÑÉÏÃæÕâÐÐÖ¸Áî·ÅÔÚButtonµÄClickʼþµ±ÖУ¬µ±Óû§µã»÷°´Å¥Ö®ºó£¬ÍøÒ³¾Í»á±»×ªÖ·µ½¸Ãwordµµ£¬Ôì³ÉÏÂÔصÄЧ¹û¡£
µ«Ê ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ