ASP.NET»ñÈ¡·þÎñÆ÷ÐÅÏ¢
"·þÎñÆ÷Ãû³Æ£º"+Server.MachineName;//·þÎñÆ÷Ãû³Æ
"·þÎñÆ÷IPµØÖ·£º" + Request.ServerVariables["LOCAL_ADDR"];//·þÎñÆ÷IPµØÖ·
"·þÎñÆ÷ÓòÃû£º" + Request.ServerVariables["SERVER_NAME"];//·þÎñÆ÷ÓòÃû
".NET½âÊÍÒýÇæ°æ±¾£º" + ".NET CLR" + Environment.Version.Major + "." + Environment.Version.Minor + "." + Environment.Version.Build + "." + Environment.Version.Revision;//.NET½âÊÍÒýÇæ°æ±¾
"·þÎñÆ÷²Ù×÷ϵͳ°æ±¾£º" + Environment.OSVersion.ToString();//·þÎñÆ÷²Ù×÷ϵͳ°æ±¾
"·þÎñÆ÷IIS°æ±¾£º" + Request.ServerVariables["SERVER_SOFTWARE"];//·þÎñÆ÷IIS°æ±¾
"HTTP·ÃÎʶ˿ڣº" + Request.ServerVariables["SERVER_PORT"];//HTTP·ÃÎʶ˿Ú
"ÐéÄâĿ¼µÄ¾ø¶Ô·¾¶£º" + Request.ServerVariables["APPL_RHYSICAL_PATH"];//ÐéÄâĿ¼µÄ¾ø¶Ô·¾¶
"Ö´ÐÐÎļþµÄ¾ø¶Ô·¾¶£º" + Request.ServerVariables["PATH_TRANSLATED"];//Ö´ÐÐÎļþµÄ¾ø¶Ô·¾¶
"ÐéÄâĿ¼Session×ÜÊý£º" + Session.Contents.Count.ToString();//ÐéÄâĿ¼Session×ÜÊý
"ÐéÄâĿ¼Application×ÜÊý£º" + Application.Co
Ïà¹ØÎĵµ£º
ASP.NET ³É¹¦µÄÆäÖÐÒ»¸öÔÒòÔÚÓÚËü½µµÍÁË Web ¿ª·¢ÈËÔ±µÄÃż÷¡£¼´±ãÄú²»ÊǼÆËã»ú¿Æѧ²©Ê¿Ò²¿ÉÒÔ±àд ASP.NET ´úÂë¡£ÎÒÔÚ¹¤×÷ÖÐÓöµ½µÄÐí¶à ASP.NET ¿ª·¢ÈËÔ±¶¼ÊÇ×Ôѧ³É²ÄµÄ£¬ËûÃÇÔÚ±àд C# »ò Visual Basic® ֮ǰ¶¼ÔÚ±àд Microsoft® Excel® µç×Ó±í¸ñ¡£ÏÖÔÚ£¬ËûÃÇÔÚ±àд Web Ó¦ÓóÌÐò£¬×ܵÄÀ´Ëµ£¬ËûÃÇËù×öµÄ¹¤ ......
ÔÚûÓÐ<asp:UpdatePanel ID="up" runat="server"> <ContentTemplate>ÎÞˢл·¾³ÖУº
Response.Write("<script>alert('¹§Ï²Äú£¬Òѳɹ¦¼ÓÈëµ½ÄúµÄÈ˲ſ⣡');</script>");
ÔÚÓÐ<asp:UpdatePanel ID="up" runat="server"> <ContentTemplate>ÎÞˢл·¾³Ö ......
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
ViewState["BackUrl"] = Request.UrlReferrer.ToString();
}
}
/// <summary>
/// ·µ»Ø°´Å¥µã»÷ʼþ
/// </summary& ......
1.ǰ̨ҳÃæÒ»°ã²»ÓÃgridview datalist treeview updatepanel µÈ¿Ø¼þ£¬ÒòΪËûÃÇ»áÉú³ÉºÜ¶àÎÒ²»ÏëÒªµÄ´úÂë¡£¶øÇÒǶÌ×Ò»´ó¶Ñtable
2.ÓÃrepeater+div+css+ul liÒѾ×ã¹»ÎÒ×öºÜ¶à¶«Î÷ÁË¡£
3.·¢²¼ºóµÄÒ³Ã棬¿ÉÒÔ°ÑһЩ¿ÕÐкͻ»ÐÐ ºÍһЩ²»±ØÒªµÄ¿Õ¸ñÈ¥µô£¬¾¡Á¿¼õÉÙaspxÒ³ÃæµÄÈÝÁ¿¡£Ìá¸ß¼ÓÔØËٶȡ£
4.ÔÚÒ³ÃæµÄtitleдÉϱ¾Ò³ÄÚÈÝ ......