asp.netÔõÑù»ñÈ¡ÄÚÍø¿Í»§¶ËÓòÃûºÍ¼ÆËã»úÃû£¿
·þÎñÆ÷·ÅÖÃÔÚÄÚÍø¡£ÍøÕ¾Ö»ÄÜÊÇͨ¹ýÄÚ²¿ÍøÂç·ÃÎʵġ£ÔõÑù»ñÈ¡¿Í»§¶Ë¼ÆËã»úµÄÓòºÍ¼ÆËã»úÃû£¿
RT£¬Ð»Ð»ÁË¡£
Request.UserHostName
Request.UserHostAddress
Õâ¸öÊÔ¹ýÁ˲»ÐС£
ÈçºÎÔÚ.NETÖлñÈ¡µçÄÔÃû£¬IPµØÖ·, Óû§Ãû, ¼ÆËã»úËùÔÚÓòÃû
ÔÚ.NETÖлñȡһ̨µçÄÔÃû£¬IPµØÖ·¼°µ±Ç°Óû§ÃûÊǷdz£¼òµ¥£¬ÒÔÏÂÊÇÎÒ³£Óõļ¸ÖÖ·½·¨,Èç¹û´ó¼Ò»¹ÓÐÆäËüºÃµÄ·½·¨£¬¿ÉÒԻظ´Ò»ÆðÕûÀí£º
1. ÔÚASP.NETÖÐרÓÃÊôÐÔ£º
»ñÈ¡·þÎñÆ÷µçÄÔÃû: Page.Server.ManchineName
»ñÈ¡Óû§ÐÅÏ¢: Page.User
»ñÈ¡¿Í»§¶ËµçÄÔÃû£ºPage.Request.UserHostName
»ñÈ¡¿Í»§¶ËµçÄÔIP: Page.Request.UserHostAddress
2. ÔÚÍøÂç±à³ÌÖеÄͨÓ÷½·¨:
»ñÈ¡µ±Ç°µçÄÔÃû: static System.Net.Dns.GetHostName()
¸ù¾ÝµçÄÔÃûÈ¡³öÈ«²¿IPµØÖ·: static System.Net.Dns.Resolve(µçÄÔÃû).AddressList
Ò²¿É¸ù¾ÝIPµØÖ·È¡³öµçÄÔÃû: static System.Net.Dns.Resolve(IPµØÖ·).HostName
3. ϵͳ»·¾³ÀàµÄͨÓÃÊôÐÔ:
µ±Ç°µçÄÔÃû: static System.Environment.MachineName
µ±Ç°µçÄÔËùÊôÍøÓò: static System.Environment.UserDomainName
µ±Ç°µçÄÔÓû§: static System.Environment.UserName
Áí£¬Â¥Ö÷¿ÉÒÔʹÓõ÷ÊÔһϣ¬ÎÒÕą̂µçÄÔÉÏûÓа²×°£¬ÎÞ·¨°ïÖúÄãµ÷ÊÔ£¬ÉÏÃæµÄÐÅÏ¢¹©Äã²Î¿¼¡£
up
Òª»ñÈ¡¼ÆËã»úÃûºÃÏñÓеãÄÑ£¬Ï£Íû¥ϸßÈËÓз¨×Ó£¬¹Ø×¢
Ïà¹ØÎÊ´ð£º
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......
ÎÒÓÃ.net¿ª·¢wapÍøÕ¾
1£¬ÎÒ´Ó¹¤¾ßÏäÀïÍÏÁËÁ½¸ölink£¬ÕâÁ½¸ölink»áÏÔʾÔÚÁ½ÐУ¬Èç¹ûÈÃÕâÁ½¸ölink´¦ÓÚͬһÐС£
2£¬ÈçºÎÏÔʾÁ½¸ö¿Ø¼þÖ®¼äµÄ¿Õ¸ñÎÊÌâ¡£
¸úwapÓйØÂ𣿲»Ì«Ã÷°×
ÓÑÇé°ï¶¥¡£¡£¡£¡£¡£¡£¡£¡£¡£¡£
¾Í ......
ÎÒÓÐÁ½¸ödropdownlist¶¼°óºÃÁËÖµ£¬ÏëÑ¡ÖÐÒ»¸ödropdownlistÖеÄÖµ£¬È»ºóÔÚÁíÒ»¸ödropdownlistÖÐÑ¡ÖÐÏàÓ¦µÄÒ»Ïî¡£
²»ÊÇ´Óа󶨵ڶþ¸ödropdownlist£¬ÊÇÔÚÒѾ°óºÃµÄÖµµ±ÖÐÑ¡ÖÐÒ»¸ö¡£
ÎÒÏëÓÃjsд
ÇóÖú
Äã¿ÉÒÔ°Ñdrop ......
´úÂëÈçÏ Çë¸ßÊÖ Ö¸µãÏ лл
ajax_http.js
-------------
function getXMLHTTP() {
var xmlhttp;
if (window.ActiveXObject) {
//IE
try {
......
×î½üÓöµ½Ò»¸öÎÊÌ⣬¾ÍÊÇÒ»¸ö³ÌÐòÖÐÓÐÒ»¸ö²é¿´ÊÕ¼þµÄ¹¦ÄÜ£¬ÒòΪÎļþ½Ï¶à£¬ÓÐͼƬ¡¢Exal..... ÎÒÏëÔÚÒ»¸öÁбíÖÐÏÔʾ³öËüÃǵÄËõÂÔͼ£¬»¹ÓÐÒ»µã£¬ÎÒ´æ·ÅÊý¾Ý¿âµÄ·½Ê½ÊÇÓöþ½øÖÆ·½Ê½£¬¿ª·¢ÓïÑÔ asp.net(C#) Çë¸÷λ¸ßÊÖ°ïà ......