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

URLÖØÐ´:ʹÓÃ΢ÈíµÄURLRewrite×é¼þ½øÐÐASP.NET URL

¸ÅÊö
URLÖØÐ´ÊǽØÈ¡´«ÈëWebÇëÇó²¢×Ô¶¯½«ÇëÇóÖØ¶¨Ïòµ½ÆäËû URL µÄ¹ý³Ì,±ÈÈçä¯ÀÀÆ÷·¢À´ÇëÇóhostname/101.aspx £¬·þÎñÆ÷×Ô¶¯½«Õâ¸öÇëÇóÖж¨ÏòΪhttp://hostname/list.aspx?id=101¡£
urlÖØÐ´µÄÓŵãÔÚÓÚ£º
    *     Ëõ¶Ìurl£¬Òþ²ØÊµ¼Ê·¾¶Ìá¸ß°²È«ÐÔ
    *     Ò×ÓÚÓû§¼ÇÒäºÍ¼üÈë¡£
    *     Ò×ÓÚ±»ËÑË÷ÒýÇæÊÕ¼
ʵÏÖurlÖØÐ´µÄ»ù±¾·½·¨
ÏÂÔØMSµÄURLRewriter.dll£¬·Åµ½ÄãµÄweb³ÌÐòµÄbinÏÂ,ÏÂÔØµØÖ·: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>
    


Ïà¹ØÎĵµ£º

ASP.net´íÎó´¦Àí(´íÎóÌø×ªÒ³ webconfig)

ASP.net´íÎó´¦Àí(´íÎóÌø×ªÒ³ webconfig)
 
ʹÓö¨ÖÆ´íÎóÒ³Ãæ
  
   ËäÈ»ÎÒÃÇ·¢Ë͸øÓû§µÄ¹«ÓôíÎóÐÅÏ¢Êǰ²È«µÄ£¬¾ÍÊÇ˵Ëü²»»áÍþвµ½Ó¦ÓóÌÐòµÄÃØÃÜ£¬µ«ÊÇÕâÑùµÄÐÅÏ¢²¢²»ºÃ¿´¡£Ò²ÐíÄãÏ£ÍûÓû§ÓÀÔ¶Ò²¿´²»µ½ÕâÑùµÄÐÅÏ¢¡£Ïà·´£¬µ±´¦ÀíÇëÇóµÄ¹ý³ÌÖУ¬Èç¹û·¢ÉúÁËÒ»¸öΪ´¦ÀíµÄ´íÎó£¬ÄãÏ£ÍûÄܹ»ÏÔÊ¾× ......

ASP.NETÈí¼þ¹¤³ÌÊ¦ÃæÊÔÌâ

ASP.NETÈí¼þ¹¤³ÌÊ¦ÃæÊÔÌâ
 
Ò»¡¢Ñ¡ÔñÌâ
1.       int[][] myArray3=new int[3][]{new int[3]{5,6,2},new int[5]{6,9,7,8,3},new int[2]{3,2}}; myArray3[2][2]µÄÖµÊÇ£¨£©¡£
A.      9
B.      2
C.    &n ......

C#ʹÓÃSQLiteÊý¾Ý¿â(asp.net/winform)

C#ʹÓÃSQLiteÊý¾Ý¿â(asp.net/winform)
2009Äê1ÔÂ7ÈÕ
ÆÀÂÛ
·¢±íÆÀÂÛ


SQLite
ÊÇĿǰ±È½ÏÁ÷ÐеÄÒ»¸ö¿ªÔ´¡¢Ãâ·ÑµÄСÐ͵ÄEmbeddable RDBMS(¹ØÏµÐÍÊý¾Ý¿â)£¬ÓÃCʵÏÖ£¬ÄÚ´æÕ¼ÓýÏС£¬Ö§³Ö¾ø´óÊýµÄSQL92±ê×¼£¬¸ö±ð²»Ö§³ÖµÄÇé¿ö£¬ÔÚÕâÀï
˵Ã÷
¶Ô¸÷ÖÖÓïÑÔµÄÖ§³ÖÒ²±È½Ï²»´í£¬wrapperºÜ¶à¡ ......

asp.netµ÷Óôø·µ»ØÖµ²ÎÊýµÄ´æ´¢¹ý³Ì

public static bool AddTbmember(Tbmember member, string regip)
{
bool check = false;
try
{
SqlCommand sqlcommnad = new SqlCommand("Pro_AddUsers", sqlconn.GetConn());
sqlcommnad.CommandType = CommandType.StoredProcedure; ......

asp.netÉú³É¾²Ì¬Ò³Ãæ

Default..aspx
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
Default..aspx.cs
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.We ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ