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

asp.net ÖÐµÄ URLÖØÐ´

URL ÖØÐ´ÊǽØÈ¡´«Èë Web ÇëÇó²¢×Ô¶¯½«ÇëÇóÖØ¶¨Ïòµ½ÆäËû URL µÄ¹ý³Ì¡£
   ±ÈÈçä¯ÀÀÆ÷·¢À´ÇëÇóhostname/101.aspx £¬·þÎñÆ÷×Ô¶¯½«Õâ¸öÇëÇóÖж¨ÏòΪhttp://hostname/list.aspx?id=101¡£
urlÖØÐ´µÄÓŵãÔÚÓÚ£º
     Ëõ¶Ìurl£¬Òþ²ØÊµ¼Ê·¾¶Ìá¸ß°²È«ÐÔ
     Ò×ÓÚÓû§¼ÇÒäºÍ¼üÈë¡£
     Ò×ÓÚ±»ËÑË÷ÒýÇæÊÕ¼
¶þ ʵÏÖurlÖØÐ´µÄ»ù±¾·½·¨
    ÏÂÔØMSµÄURLRewriter.dll£¬·Åµ½ÄãµÄweb³ÌÐòµÄbinÏÂ
ÏÂÔØµØÖ·1£ºhttp://www.rickel.cn/uploads/DevTools/MSDNURLRewriting.msi
ÏÂÔØµØÖ·2£ºdownload.microsoft.com/download/0/4/6/0463611e-a3f9-490d-a08c-877a83b797cf/MSDNURLRewriting.msi
ÏÂÔØÍê³Éºó£¬ÔÚweb.configÀïÉèÖÃÈçÏ£º
<?xml version="1.0" encoding="utf-8" ?>
<!--overred-->
<configuration>
     <configSections>
         <section name="RewriterConfig"type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" />
     </configSections>
     <RewriterConfig>
         <Rules>
             <RewriterRule>
                 <LookFor>~/d(\d+)\.aspx</LookFor>
                 <SendTo>~/default.aspx?id=$1</SendTo>
             </RewriterRule>
         </Rules>
     </RewriterConfig>
     <system.web>
         <httpHandlers>
             <add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />
         </httpHandlers>
    </system.web>
</configuration>
ÆäÖÐ
<


Ïà¹ØÎĵµ£º

ÓÃasp.net»¹Ô­Óë»Ö¸´sqlserverÊý¾Ý¿â


  
ÉÏ´Î×öÁ˸öÏîÄ¿£¬Éæ¼°µ½Êý¾Ý¿âµÄ»¹Ô­ºÍ»Ö¸´£¬µ½ÍøÉÏÕÒÁËһϣ¬ÊÇÀûÓÃSQLDMOʵÏֵģ¬Ö»ÒªÌí¼ÓSQLDMOÒýÓþͺÃÁË£¬
È»ºóÀûÓÃϱߵÄÀàµÄ·½·¨¾Í¿ÉÒÔʵÏÖÁË¡£
ÎÒ°ÑÔ­×÷ÕßµÄÀàÀ©³äÁËһϣ¬¿ÉÒÔ×Ô¶¯Ê¶±ðweb.configÀï µÄÊý¾Ý¿âÁ¬½Ó×Ö·û´®£¬¿ÉÒÔͨ¹ý±äÁ¿ÉèÖû¹Ô­»Ö¸´µÄÐÅÏ¢¡£
ÐèҪעÒâµÄʱ»¹Ô­£¬»¹Ô­µÄʱºòÎÊÌâ ......

asp.net ÖлñÈ¡ÖÐÎÄÊ××ÖĸµÄ´úÂë Çײâ

using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using Sy ......

ASP.net »ñµÃ¿Í»§¶ËµÄIP

  ASP.net »ñµÃ¿Í»§¶ËµÄIP£¬×î³£¼ûµÄÊÇʹÓÃÏÂÊö´úÂ룺 string user_IP = System.Web.HttpContext.Current.Request.ServerVariables["REMOTE_ADDR"];
¶ÔÓÚÁ˽â´úÀí·þÎñÆ÷Çé¿öµÄÈË£¬ÎÒÃÇ»áÖªµÀ£¬Èç¹ûÓû§Ê¹ÓÃÁË´úÀí·þÎñÆ÷£¬ÉÏÊö´úÂë»ñµÃµÄÊÇ´úÀí·þÎñÆ÷µÄIPµØÖ·£»Èç¹ûÓû§Ê¹ÓÃÁ˶à¸ö´úÀí·þÎñÆ÷£¬ÔòÊǵ½´ï·þÎñÆ÷µÄ×îºóÒ ......

Jquey Ajax·ÃÎÊasp.netºǫ́´úÂë

            $.ajax({
                type: "POST",   //·ÃÎÊWebServiceʹÓÃPost·½Ê½ÇëÇó
             ......

ASP.NETµ¼³öExcelÂÒÂëµÄ½â¾ö·½°¸

ÔÚasp.netÖе¼³öexcel ÖбȽÏͨÐеÄ×ö·¨ÊÇ: Response.ContentType = "application/vnd.ms-excel";
È»ºóÖ±½ÓÏòÀïÃæÈÓ html µÄtable
µ«ÊÇÓÐÖÐÎĵÄʱºò ÀϳöÏÖÂÒÂ룬Óкܶà½â¾ö·½°¸£¬µ«¶¼²»ÄÜͨÅ̽â¾ö, ¾ÍÊÇÔÚ Êä³öhtmlÁ½Í·Êä³ö
 
Response.Write("<html><head><meta http-equiv=Content-Type conte ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ