ASP.NETÍøÕ¾¿ª·¢Ð¡½á
1.<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
Vs2005ºìÉ«ÁË£¬ÌáʾÕÒ²»µ½¸ÃÎļþ
ÓÚÊǸÄΪ.<script src="/Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
½á¹ûºìɫûÓÐÁË£¬µ«ÊDZàÒëʱ±¨´í£¬ÕÒ²»µ½¸ÃÎļþ
½áÂÛ£º<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>ËäÈ»ÊǺìÉ«£¬µ«ÊDZàÒëÄÜͨ¹ý
Ïà¹ØÎĵµ£º
ÔÚÒÔÇ°µÄASPʱºò£¬µ±ÇëÇóÒ»¸ö*.aspÒ³ÃæÎļþµÄʱºò£¬Õâ¸öHTTPÇëÇóÊ×ÏȻᱻһ¸öÃûΪinetinfo.exe½ø³ÌËù½Ø»ñ£¬Õâ¸ö½ø³Ìʵ¼ÊÉϾÍÊÇwww·þÎñ¡£½Ø»ñÖ®ºóËü»á½«Õâ¸öÇëÇóת½»¸øasp.dll½ø³Ì£¬Õâ¸ö½ø³Ì¾Í»á½âÊÍÕâ¸öaspÒ³Ã棬Ȼºó½«½âÊͺóµÄÊý¾ÝÁ÷·µ»Ø¸ø¿Í»§¶Ëä¯ÀÀÆ÷¡£ÆäʵASP.DLLÊÇÒ»¸öÒÀ¸½ÔÚIISµÄISAPIÎļþ£¬Ëü¸ºÔðÁ˶ÔÖîÈçASPÎļþ£¬A ......
¹ã¶«ÄϺ£Êй«°²¾Ö¼ÆËã»ú°²È«¼à²ì¹ÉÓ÷¿
ASP.NETÊÇ΢ÈíÍƳöµÄÏÂÒ»´úWEB¿ª·¢¹¤¾ß£¬ÆäÇ¿´óµÄ¹¦ÄÜÁ¢¼´ÎüÒýÁËÒ»´óÅúWEB¿ª·¢ÕßͶÈëËüµÄÃÒÏ¡£ÏÖÔÚ£¬ÎÒÃÇÀ´¿´¿´ASP.NETµÄÑéÖ¤¿Ø¼þ£¬¸ÐÊÜASP.NETµÄÇ¿´ó¹¦ÄÜͬʱ·½±ãÎÒÃÇÏÖÔÚµÄWEB¿ª·¢¡£
WEB¿ª·¢ÕßÌرðÊÇASP¿ª·¢Õߣ¬Ò»Ö±¶ÔÊý¾ÝÑéÖ¤±È½ÏÄջ𣬵±ÄãºÃ²»ÈÝÒ×д³öÊý¾ ......
//ʵÀý»¯Ò»¸öSmtpClientsmtp.DeliveryMethod = SmtpDeliveryMethod.Network;
SmtpClient smtp = new SmtpClient();
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
//½«smtpµÄ³öÕ¾·½Ê½ÉèΪ Networksmtp.EnableSsl = false;
//smtp·þÎñÆ÷ÊÇ·ñÆôÓÃSSL¼ÓÃÜ
smtp ......
Ò³Ãæ¼ÓÔØ˳ÐòÈçÏÂ:
Page.Init
Page.Load
Textbox.TextChanged
Button.Click
Page.PreRender
Page.Unload
ÔÚPage.Unload֮ǰ,Ò³Ãæ¾Í³ÊÏÖ³öÀ´ÁË.
page.initÖ»ÊÇÔÚÒ³ÃæµÚÒ»´ÎÔØÈëµÄʱºòÖ´ÐÐ,µ±Ò³Ãæpostbackºó´Ópage.load¿ªÊ¼Ö´ÐÐ.
e.g
<%@ Page Language="C#" AutoEventWireup="true" CodeBe ......
asp.net ¶ÔxmlÎļþµÄ¶Áд,Ìí¼Ó,ÐÞ¸Ä,ɾ³ý²Ù×÷
ÏÂÃæÓдúÂëµ÷ÊÔÕýÈ·
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using&nb ......