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

ASP.NETÈçºÎ»ñÈ¡Óû§µÄIP - .NET¼¼Êõ / ASP.NET

ÍøÕ¾ºǫ́¹ÜÀíÐèÒªÏÔʾµÇ¼ÈËÔ±µÄIP¡£×îºÃÄÜÏÔʾIPµØÖ·µÄ¹éÊôµØ£¬Çë½Ì¸÷λ´óϺÈçºÎʵÏÖѽ£¿×îºÃÄÜÓÐÔ´Â룬лл£¡£¡
HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];

¹éÊôµØ¿ÉÒÔÓÃÒ»¸öÊý¾Ý¿âÀ´²éѯ£¬Ò²¿ÉÒÔÓÃweb service¡£

´ÓRequestÁ÷ÖлñÈ¡
Request.UserHostAddress

¹éÊôµØÐèÒªipÊý¾Ý¿â,ºÜ¶àÍøÕ¾ÓÐÕâÑùµÄ¹¦ÄÜ,ÌáÒ»¸öhttpÇëÇó¾ÍÄÜ»ñÈ¡µ½

²Î¿¼

private string GetClientIP()
  {
  string result = HttpContext.Current.Request.ServerVariables["HTTP_X_FORWARDED_FOR"];
  if (null == result || result == String.Empty)
  {
  result = HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
  }

  if (null == result || result == String.Empty)
  {
  result = HttpContext.Current.Request.UserHostAddress;
  }
  return result;
  }
http://topic.csdn.net/u/20090617/11/8f0432b6-84ee-49da-a55f-86b3d343ab8b.html

string sIP = Page.Request.UserHostAddress;


Ïà¹ØÎÊ´ð£º

ÔÚasp.netÀïÃæ½Å±¾³ö´í - .NET¼¼Êõ / ASP.NET

function CheckOpwd(){//ÑéÖ¤Óû§Ãû
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp µ÷ÓÃjavaдµÄwebservice - Web ¿ª·¢ / ASP

ÔÚaspÀïÔõôµ÷ÓÃjavaдµÄwebservice·½·¨£¬Óкܶ෽·¨
- <message name="RtPnrIn">
  <part name="bstrPnrNO" type="s:string" /> 
  <part name ......

asp.netµ¼³öEXCELÎÊÌ⣡ - .NET¼¼Êõ / ASP.NET

C# code:

SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......

asp³õѧÎÊÌâ - Web ¿ª·¢ / ASP

Microsoft JET Database Engine '80040e07' 
±ê×¼±í´ïʽÖÐÊý¾ÝÀàÐͲ»Æ¥Åä¡£ 
\wwwroot\update.asp, line 20
--------------------------------------------------------------------------------
Ho ......

asp.netÈçºÎÌá¸ß·ÃÎÊËÙ¶È - .NET¼¼Êõ / ASP.NET

ÎÒ×î½ü×öÁËÒ»¸öÍøÕ¾ÊǹØÓÚ²úƷչʾµÄ ~ Õû¸öÍøÕ¾Í¼Æ¬¶¼Õ¼ÓÃÁËÒ»´ó°ë  
ÕâÑùµÄ»°·ÃÎÊËٶȾͷdz£Âý ÓÐʲô°ì·¨¿ÉÒÔ½â¾öÂð£¿
Âé·³´ó¼Ò¶à¶à¸øµãÒâ¼û £¡ ÓÐʲô¾¡¹Ü˵ 
3Q´ó¼Ò
htmlÒ³Ãæ.

Õâ¸ö,¼ÈÈ»Ö÷Ò ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ