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

dz̸ASP.net°²È«±à³Ì

ÔÚWeb±à³Ì¹ý³ÌÖУ¬´æÔÚןܶలȫÒþ»¼¡£±ÈÈçÔÚÒÔÇ°µÄASP°æ±¾ÖУ¬CookieΪ·ÃÎÊÕߺͱà³ÌÕ߶¼ÌṩÁË·½±ã£¬²¢Ã»ÓÐÌṩ¼ÓÃܵŦÄÜ¡£´ò¿ªIEä¯ÀÀÆ÷£¬Ñ¡Ôñ“¹¤¾ß”²Ëµ¥ÀïµÄ“InternetÑ¡Ï¬È»ºóÔÚµ¯³öµÄ¶Ô»°¿òÀïµ¥»÷“ÉèÖÔ°´Å¥£¬Ñ¡Ôñ“²é¿´Îļþ”°´Å¥£¬ÔÚµ¯³öµÄ´°¿ÚÖУ¬¾Í»áÏÔʾӲÅÌÀïµÄ»º´æÊý¾Ý£¬ÆäÖоÍÓдóÁ¿µÄCookieÎļþ¡£Èçͼ1Ëùʾ¡£ÎÊÌâÊÇ£¬ÕâÑù°²È«Âð?
 
ÓÚÊÇ£¬ÎÒÃÇ»áÏëµ½ºÜ¶à°²È«´ëÊ©£¬±ÈÈçʹÓÃSSL¡¢½¨Á¢ÍøÉÏÒøÐÐÒ»ÑùµÄÇ¿ÈÏÖ¤·½Ê½µÈ£¬µ«ÊÇ£¬¶ÔÓڴ󲿷ÖÍøÕ¾¶øÑÔ£¬¿ÉÄÜÕâЩ·½·¨¾ßÓÐÒ»¶¨µÄÀ§ÄÑÐÔ£¬ÒòΪҪʵÏÖÕâЩ±È½ÏÇ¿µÄ°²È«´ëÊ©£¬×îÆðÂëÐèҪһ̨·þÎñÆ÷£¬ÔÚ¾­¼ÃÉÏÏÔÈ»²»ÊÇСÊýÄ¿¡£ÄÇô£¬ÓÐûÓбȽϾ­¼ÃµÄ·½·¨À´½â¾öÕâÀàÎÊÌâÄØ£¿´ð°¸Êǿ϶¨µÄ£¬ÏÖÔÚ.NET¹¹¼ÜÔÚSystem.Security.CryptographyÃüÃû¿Õ¼äÀïÌṩÁËÐí¶à¼ÓÃÜÀà¿ÉÒÔÀûÓ㬰üÀ¨°²È«µÄÊý¾Ý±àÂëºÍ½âÂëÒÔ¼°É¢Áз¨¡¢Ëæ»úÊý×ÖÉú³ÉºÍÏûÏ¢Éí·ÝÑéÖ¤¡£ÏÂÃ棬ÎÒÃÇÀ´¿´¿´¼¸¸ö±È½ÏµäÐ͵ÄÀý×Ó£¬ÒÔ¹©²Î¿¼¡£
ʵÏÖASP.net±íµ¥µÄ°²È«Ìá½»
ʹÓÃASP.NET»·¾³Ïµĵç×ÓÓʼþ¹¦ÄÜ£¬ÎÒÃÇ¿ÉÒÔÈÝÒ×µÄʵÏÖ·¢Ë͵ç×ÓÓʼþ¡£¿ÉÄÜÎÒÃÇ»á˵£¬²»ÓÃASP.NET£¬Ö±½ÓʹÓÃHTML£¬Ò²¿ÉÒÔʵÏÖÒÔÉϹ¦ÄÜ¡£Æäʵ£¬ÕâÊÇÍêÈ«²»Ò»ÑùµÄ£ºÊ¹ÓÃHTML£¬Óû§Ìá½»ÐÅÏ¢µÄʱºò£¬Êǵ÷Óÿͻ§¶ËµÄÓʼþÊÕ·¢Èí¼þ£¬Ê¹ÓÃÓû§µÄÓÊÏä·¢ËÍ±íµ¥ÐÅÏ¢£¬Èç¹ûÓû§Ã»ÓÐÓÊÏä»òÕßÓû§Ã»ÓÐÓʼþÊÕ·¢Èí¼þ£¬¾Í²»ÄÜÌá½»ÐÅÏ¢£»¶ø²ÉÓÃASP.NET£¬¿ÉÒÔʹÓ÷þÎñÆ÷¶Ë£¨³ÌÐòÉè¼ÆÕߣ©ÌṩµÄÓÊÏäºÍSMTP·þÎñÆ÷£¬Ò²²»ÐèÒª¿Í»§°²×°ÓʼþÊÕÈí¼þ£¬Ò»Çж¼Ö±½ÓÔÚ·þÎñ¶ËÍê³É£¬ÏÔÈ»¸ü¼ÓÊʺÏÎÒÃǵÄÒªÇó¡£ÏÖÔÚ£¬ÎÒÃǾÍÀ´¿´ÒÔÉϹ¦ÄܵĴúÂëʵÏÖ¡£Ê×ÏÈ£¬ÎÒÃÇÀ´¿´ÍøÒ³½çÃæʵÏֵĹؼü´úÂ룺
<Form id="form1" runat="server">
ÐÕÃû: <asp:TextBox id="txtFname" runat="server" />
µØÖ·: <asp:TextBox id="txtAddr" runat="server" />
ÄÚÈÝ: <asp:TextBox id="txtContent" runat="server" />
<asp:Button id="btnEmail" Text="Ìá½»" onclick="doEmail" runat="server" />
</Form>
ÒÔÉÏÖ»ÊǺܼòµ¥µÄ¼¸¸öÌá½»ÏÔÚʵ¼ÊÖУ¬ÎÒÃÇ¿ÉÒÔ¸ù¾ÝÐèÒªÔö¼Ó¡£»¹ÊǸù¾ÝÉÏÊöÀý×Ó£¬ÒòΪÐèÒªÓõ½µç×ÓÓʼþ¹¦ÄÜ£¬ËùÒÔ£¬ÎÒÃÇÐèÒªÒýÈëEmailÃû×ֿռ䣺<%@ Import Namespace="System.Web.Mail" %>£»È»ºó£¬ÎÒÃÇÀ´ÊµÏÖ°´Å¥btnEmailµÄµã»÷ʼþ£º
Sub doEmail(Source as Object, E as EventArgs)
Dim sMsg as String
sMsg+="Ìá½»ÐÅÏ¢£º


Ïà¹ØÎĵµ£º

ASP.NET³£ÓôúÂë

 1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º
´«ËͲÎÊý£º
response.write("<script>window.open('*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"')</script>")
½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string b = Request.QueryString("id1");
2.Ϊ°´Å¥Ìí¼Ó¶Ô»°¿ò
Button1.Attribute ......

ASP.NET¹ØÓÚÌõÐÎÂëµÄÉú³ÉÎÊÌâ¼æÍøÒ³´òÓ¡

ÌõÐÎÂëÊÇÆù½ñΪֹ×î¾­¼Ã¡¢ÊµÓõÄÒ»ÖÖ×Ô¶¯Ê¶±ð¼¼Êõ¡£ÌõÐÎÂë¼¼Êõ¾ßÓÐÒÔϼ¸¸ö·½ÃæµÄÓŵã
¡¡¡¡A£®ÊäÈëËٶȿ죺Óë¼üÅÌÊäÈëÏà±È£¬ÌõÐÎÂëÊäÈëµÄËÙ¶ÈÊǼüÅÌÊäÈëµÄ5±¶£¬²¢ÇÒÄÜʵÏÖ“¼´Ê±Êý¾ÝÊäÈ딡£
¡¡¡¡B£®¿É¿¿ÐԸߣº¼üÅÌÊäÈëÊý¾Ý³ö´íÂÊΪÈý°Ù·ÖÖ®Ò»£¬ÀûÓùâѧ×Ö·ûʶ±ð¼¼Êõ³ö´íÂÊΪÍò·ÖÖ®Ò»£¬¶ø²ÉÓÃÌõÐÎÂë¼¼ÊõÎóÂëÂʵ ......

£¨×ª£©ASP.NET URL Rewrite. URLÖØд


ASP.NET URL Rewrite. URLÖØд
ת×Ô£ºhttp://www.cnblogs.com/rickel/archive/2007/02/04/639616.html

URL ÖØдÊǽØÈ¡´«Èë Web ÇëÇó²¢×Ô¶¯½«ÇëÇóÖض¨Ïòµ½ÆäËû URL µÄ¹ý³Ì¡£
  ±ÈÈçä¯ÀÀÆ÷·¢À´ÇëÇóhostname/101.aspx £¬·þÎñÆ÷×Ô¶¯½«Õâ¸öÇëÇóÖж¨ÏòΪhttp://hostname/list.aspx?id=101¡£
urlÖØдµÄÓŵãÔÚ ......

Asp.netÈÕÆÚ×Ö·û´®¸ñʽ»¯ÏÔʾ

Asp.netÈÕÆÚ×Ö·û´®¸ñʽ»¯ÏÔʾ--DateTime.ToString()Ó÷¨Ïê½â
ÎÒÃǾ­³£»áÓöµ½¶Ôʱ¼ä½øÐÐת»»,´ïµ½²»Í¬µÄÏÔʾЧ¹û£¬Ä¬ÈϸñʽΪ:2006-6-6 14:33:34
Èç¹ûÒª»»³É³É200606,06-2006,2006-6-6»ò¸ü¶àµÄ¸ñʽ¸ÃÔõô°ìÄØ£¿
ÕâÀォҪÓõ½:DateTime.ToStringµÄ·½·¨(String, IFormatProvider)
ʾÀý£º
using System;
using Syste ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ