ASP.NET µ¯³öÌáʾ¿òËùÓÐÖÖÀà
Ìí¼ÓÒ»¸öÀࣺ°ÑÏÂÃæµÄÎļþ·ÅÔÚÀàÖоͿÉÒÔÁË¡£
using System;
using System.Web;
using System.Data;
using System.Data.SqlClient;
public class MessageBox
{
public MessageBox()
{
}
/// <summary>
/// ¾¯¸æ¿ò
/// </summary>
/// <param name="_Msg">¾¯¸æ×Ö´®</param>
/// <returns>¾¯¸æ¿òJS</returns>
public void MsgBox(string _Msg)
{
string StrScript;
StrScript = ("<script language=javascript>");
StrScript += ("alert('" + _Msg + "');");
StrScript += ("</script>");
System.Web.HttpContext.Current.Response.Write(StrScript);
}
/// <summary>
/// Ò»¸öº¬ÓГȷ¶¨”¡¢“È¡Ïû”µÄ¾¯¸æ¿ò
/// </summary>
/// <param name="_Msg">¾¯¸æ×Ö´®</param>
/// <param name="URL">“È·¶¨”ÒÔºóҪתµ½Ô¤ÉèÍøÖ·</param>
/// <returns>¾¯¸æ¿òJS</returns>
&
Ïà¹ØÎĵµ£º
ʾÀý´úÂëÏÂÔØ4K
ÔÚÒѾ·¢²¼µÄ ASP.NET2.0 ÖУ¬ÎÞË¢ÐÂÒ³Ã濪·¢Ïà¹Ø²¿·Öͬ beta2 Óв»ÉٸĶ¯¡£¶øÇÒÔÚÔ½À´Ô½¶àµÄ Ajax ¿ª·¢°ü±»¿ª·¢³öÀ´µÄÇé¿öÏ£¬ ASP.NET2.0 ×Ô´øµÄÎÞË¢ÐÂÒ³Ãæ¼¼ÊõûÓб»ºÜ¶àÈËÁ˽⣬ÉõÖÁ²»ÉÙÈËÈÏΪ¸Ã¹¦ÄÜÓÐЩ“¼¦Àß”¡£µ«Èç¹ûÎÒÃǽö½öÊÇÔÚ³ÌÐòÖмÓÈëºÜÉÙ²¿·ÖµÄ Ajax ÌØÐÔ£¬ A ......
а汾URL-rewrite module for IIS 7.0µÄ·¢²¼ÁË£¬ASP.NET Routing×é¼þËæ×Å.NET Framework 3.5 SP1µÄ·¢²¼£¬²¢ÔÚ.NET Framework 4.0 BetaÖнøÒ»²½³ÉÊì¡£×÷ΪASP.NET ¿ª·¢ÈËÔ±£¬ÎÒÃDz»Ãâ»á¶ÔÕâÁ½¸ö¹¦ÄÜÏà½üµÄ×é¼þ±§ÓÐÐí¶àÒÉÎÊ£¬ÖîÈç“ËüÃÇÓÐʲôÒìͬ£¿”“·Ö±ðÊÊÓÃÓÚʲô»·¾³£¿”µÈµÈ¡£±¾ÎÄÖ¼ÔÚÃèÊöÕâÁ½Õß ......
ʹÓÃASP.NET¿ª·¢Íøվʱ£¬Èç¹ûURLÖд«µÝµÄ²ÎÊý¹ý³¤£¨¾ßÌå¶à³¤Ã»ÓвâÊÔ£©µÄ»°£¬ÔÚʹÓÃIE6ä¯ÀÀʱ£¬¾Í»á³öÏÖͨ¹ýQueryString»ñµÃµÄÖµ²»ÍêÕû£¬»òÕß³öÏÖÂÒÂëµÄÇé¿ö¡£Æä½â¾ö·½·¨ÊÇ£ºÔÚWeb.configÖеÄSystem.webÅäÖýÚÖÐÌí¼ÓÈçÏ´úÂë¼´¿É£º
<globalization requestEncoding="gb2312" responseEncoding="gb2312" ......
ASP.NETµÄ¹¤×÷ÔÀí
ÔÚ¶àÊý³¡ºÏÏ£¬¿ÉÒÔ½«ASP.NETÒ³Ãæ¼òµ¥µØ¿´³ÉÒ»°ãµÄHTMLÒ³Ã棬ҳÃæ°üº¬±ê¼ÇÓÐÌØÊâ´¦Àí·½Ê½µÄһЩ´úÂë¶Î¡£µ±°²×°.NETʱ£¬±¾µØµÄIIS Web·þÎñÆ÷×Ô¶¯ÅäÖóɲéÕÒÀ©Õ¹ÃûΪ.aspxµÄÎļþ£¬ÇÒÓÃASP.NETÄ£¿é(ÃûΪaspnet_isapi.dllµÄÎļþ)´¦ÀíÕâЩÎļþ¡£
´Ó¼¼ÊõÉϽ²£¬ASP.NETÄ£¿é·ÖÎöASPXÎļþµÄÄÚÈÝ£¬²¢½«ÎļþÄÚÈ ......