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

ASP.NETÇå³ýÒ³Ãæ»º´æµÄ·½·¨

ASP.NETÇå³ýÒ³Ãæ»º´æ
     (1)   Response.Buffer = true;
             Response.ExpiresAbsolute = System.DateTime.Now.AddSeconds(-1);
             Response.Expires = 0;
             Response.CacheControl = "no-cache";
             Response.AddHeader("Pragma", "No-Cache");
    (2) HTML·½·¨
        <HEAD>
        <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
        <META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
        <META HTTP-EQUIV="Expires" CONTENT="0">
        </HEAD>
    (3) ÖØÐµ÷ÓÃÔ­Ò³ÃæµÄʱºòÔÚ¸øÒ³Ãæ´«Ò»¸ö²ÎÊý:    href="****.ASPX?random()"


Ïà¹ØÎĵµ£º

ASP.NET ASP.NET ÍøÒ³µÄ HTML ¿Ø¼þ


      ±¾½ÚÖеÄÖ÷ÌâÃèÊöÈçºÎʹÓà Visual Web Developer ¹¤¾ßÏäµÄ“HTML”Ñ¡ÏÉ쵀 ASP.NET Web ·þÎñÆ÷¿Ø¼þ¡£
ĬÈÏÇé¿öÏ£¬·þÎñÆ÷ÎÞ·¨Ê¹Óà ASP.NET ÍøÒ³É쵀 HTML ÔªËØ£»ÕâÐ©ÔªËØ±»ÊÓΪ´«µÝ¸øä¯ÀÀÆ÷µÄ²»Í¸Ã÷Îı¾¡£µ«ÊÇ£¬Í¨¹ý½« HTML ÔªËØ×ª»»³É HTML ·þÎñÆ÷¿Ø¼þ£¬¿ÉÒÔ½«ËüÃǹ«¿ªÎª ......

Asp.Net ·¢ËÍ smptÓʼþ

using System.Web.Mail ;
private void Button1_Click(object sender, System.EventArgs e)
  {
 
   //ʵÀý»¯MailMessage¶ÔÏó
   System.Web.Mail.MailMessage mail=new System.Web.Mail.MailMessage();
 
   //¶¨ÒåÓʼþµÄ·¢Ë͵ØÖ· , ¿ÉÒÔËæ±ãÌîÒ»¸ö²»´æÔڵĵØÖ· ......

Óʼþ·¢ËͿؼþjmailʹÓ÷½·¨Ö®ASP.NETʾÀý

    ×¼±¸¹¤×÷ºÍWinForm³ÌÐòÖÐÓ¦ÓõIJ¶à£º
    1.Ê×ÏÈÏÂÔØjmail¿Ø¼þ£¬È»ºó°²×°£¨Æäʵ²»°²×°Ò²ÐУ¬Ö»ÒªÄãÄÜÕÒµ½jmail.dllÎļþ£¬È»ºó×¢²á¸ÃdllÎļþ¡£ÕâÀï²»Ö§³ÖÉÏ´«¸½¼þ£¬·ñÔòÎҾͰÑÎÒÏÂÔØµÄ´«ÉÏÀ´ÁË£©£¬¸½ÉÏÊÖ¹¤×¢²áËüµÄÅú´¦Àí£º
echo off
copy jmail.dll C:\windows\system32
regsvr32 ......

ASP.NET¾­µäÃæÊÔÌâ

1. ¼òÊö private¡¢ protected¡¢ public¡¢ internal ÐÞÊηûµÄ·ÃÎÊȨÏÞ¡£
´ð . private : ˽ÓгÉÔ±, ÔÚÀàµÄÄÚ²¿²Å¿ÉÒÔ·ÃÎÊ¡£
protected : ±£»¤³ÉÔ±£¬¸ÃÀàÄÚ²¿ºÍ¼Ì³ÐÀàÖпÉÒÔ·ÃÎÊ¡£
public : ¹«¹²³ÉÔ±£¬ÍêÈ«¹«¿ª£¬Ã»ÓзÃÎÊÏÞÖÆ¡£
internal: ÔÚͬһÃüÃû¿Õ¼äÄÚ¿ÉÒÔ·ÃÎÊ¡£
£¨partial ÔÊÐí½«Àà¡¢½á¹¹»ò½Ó¿ÚµÄ¶¨Òå²ð·Öµ½¶à¸ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ