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.NET 2.0
Îļþ£±: Deafault.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
&l ......
¸Õ¸Õ ¿´µ½Õâôһ¸öÎÊÌ⣬ÕâÀïÒ²×ö¸ö±ê¼Ç£ºhttp://topic.csdn.net/u/20080411/14/7b0f9da5-0413-4149-91e9-72c3df3018a3.html?seed=327251592
µÚÒ»ÖÖ·½Ê½£º
//ÔÚVisual Studio 2008Öе÷ÊÔͨ¹ý
testPop_Page.aspx:Ö÷Ò³ÃæASPX´úÂë
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
  ......
ÎÒÏëÔÚaspÖмÓÒ»¸öÁ´½Ó£¬Ö¸Ïòasp.netÍøÒ³£¬µ«asp.netµÄÍøÖ·ÊǾ¹ýHttpUtility.UrlEncode±äÐκÍHttpUtility.UrlDecode±ä»ØµÄ£¬¶øaspµÄserver.urlencodeÈ´²úÉú²»Á˺ÍHttpUtility.UrlEncodeÒ»ÑùµÄ±àÂ룬ÇëÎÊÓÐûÓнâ¾ö°ì·¨
²¹³ä£ºÔÀ´asp.netµÄÊÇ"web.aspx?str="+HttpUtility.UrlEncode(str)
ºÍHttpUtility.UrlDecode(Requ ......
asp.net ajaxÖÐÎÄÂÒÂëµÄ½â¾ö£¿
2010-01-19 12:06
ÒÔǰûÔõô×ÐϸµÄÑо¿¹ýajax,Ö»ÊÇÓõ½Á˾ÍÖ±½ÓÄùýÀ´ÓÃ,·¢ÏÖÁËÎÊÌâÔÙÕÒ½â¾ö·½·¨.ÒÔÏÂÊÇÎÒÔÚÕÒ½â¾öÎÊÌâµÄ¹ý³ÌÖеÄÒ»µãССµÄ×ܽá.
Ò».̸AjaxµÄGetºÍPostµÄÇø±ð
Get·½Ê½:
ÓÃget·½Ê½¿É´«Ëͼòµ¥Êý¾Ý£¬µ«´óСһ°ãÏÞÖÆÔÚ1KBÏ£¬Êý¾Ý×·¼Óµ½urlÖз¢Ë ......