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

asp.netʵÏÖα¾²Ì¬

Ò»£¬»ñµÃMircosoft URLRewriter.dll£º
»ñµÃMircosoft URLRewriter.dll¿ÉÒÔµ½http://www.microsoft.com/china/msdn/library/webservices/asp.net/URLRewriting.mspx?mfr=true
 ÏÂÔØÍê±Ïºó£¬µ¼È빤³Ì£¬ÎÒÕâÀïûÓжԸù¤³Ì×öÈκÎÐ޸ģ¬±£ÁôÁËÔ­À´µÄÖØд·½Ê½£¬È»ºóÖ±½ÓÔÚVS2005ÀïÃæÉú³É.dllÎļþ¾Í¿ÉÒÔÁË¡£
¶þ£¬Ê¹ÓøÃdllÎļþ£º
Ìí¼ÓÒýÓ㬸㶨¡£
Èý£¬Ò³Ãæ·½ÃæµÄÉè¼Æ£¬ÕâÀï²»ÔÚ׸ÊöÁË£¬ÎÒ»á·ÅÒ»¸öÏÂÔØ°ü£¬ÓÐÐËȤµÄÅóÓÑÏÂÔØÀ´¿´¿´°É£¬´úÂëдµÄ±È½ÏÂÒ¡£
ËÄ£¬web.configµÄÅäÖÃ
ÕⲿÊǷdz£¹Ø¼üµÄ£¬Ò²ÊǾ²Ì¬»¯ÄÜ·ñ³É¹¦µÄ¹Ø¼ü¡£
<?xml version="1.0"?> 
<configuration> 
  <configSections> 
    <section name="RewriterConfig" type="URLRewriter.Config.RewriterConfigSerializerSectionHandler, URLRewriter" /> 
  </configSections> 
 
  <RewriterConfig> 
        <Rules> 
            <RewriterRule> 
                <LookFor>~/web/new/type/(.[0-9]*)\.html</LookFor> 
        <SendTo>~/web/new.aspx?id=$1</SendTo> 
            </RewriterRule> 
      <RewriterRule> 
        <LookFor>~/web/index.html</LookFor> 
        <SendTo>~/web/index.aspx</SendTo> 
      </RewriterRule> 
        </Rules> 
    </RewriterConfig> 
    <system.web> 
    <httpHandlers> 
      <add verb="*" path="*.aspx" type="URLRewriter.RewriterFactoryHandler, URLRewriter" />&n


Ïà¹ØÎĵµ£º

GDI+ÈëÃÅ£¨¾Å¡¢ASP.NETÖÐGDI+£©

¾Å¡¢ASP.NETÖÐGDI+
protected void Page_Load(object sender, EventArgs e)
        {
            string Filename;
            System.Drawing.Image g;
&nbs ......

ASP.NETÒ³ÃæµÄCheckBoxList×é¼þ

CheckBoxÑ¡Ôñ×é¼þÊÇÒ»¸ö³ÌÐòÖж¼¾­³£µÄ×é¼þ¡£ÔÚ³ÌÐòÉè¼ÆÖÐʹÓõ½¸Ã×é¼þ£¬Ò»°ã¶¼²»»áֻʹÓõ½Ò»¸ö£¬ÍùÍùÊÇÒÔ¶à¸ö´ËÀà×é¼þµÄÐÎʽ³öÏֵġ£ÔÚASP.NETÒ³ÃæÖÐÈç¹ûҪʹÓõ½¶à¸öCheckBox×é¼þ£¬³ýÁËÌí¼Ó¶à¸öCheckBox×é¼þÔÚÒ³ÃæÖÐÖ®Í⣬»¹ÓÐÒ»ÖֱȽϷ½±ãµÄ·½·¨£¬¾ÍÊÇʹÓÃCheckBoxList ×é¼þ¡£CheckBoxList×é¼þÊÇÓÉÒ»×éµÄCheckBox×é¼þ×é ......

ASP.netµÄweb.configµÄÖÐÎĽâÊÍ

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<!-- ¶¯Ì¬µ÷ÊÔ±àÒë
ÉèÖà compilation debug="true" ÒÔ½«µ÷ÊÔ·ûºÅ£¨.pdb ÐÅÏ¢£©²åÈëµ½±àÒëÒ³ÖС£ÒòΪÕ⽫´´½¨Ö´ÐÐÆðÀ´½ÏÂýµÄ´óÎļþ£¬ËùÒÔÓ¦¸ÃÖ»ÔÚµ÷ÊÔʱ½«¸ÃÖµÉèÖÃΪ true£¬¶øËùÓÐÆäËûʱºò¶¼ÉèÖÃΪfalse¡£Óйظü¶àÐÅÏ¢£¬ ......

ASP.Net ¶àͼƬÉÏ´«£¨¿ÉÑéÖ¤£©

1:¿Í»§Ò³Ãæ
 
 
 <%@ Page Language="C#" MasterPageFile="~/Admin/admin.master" AutoEventWireup="true" CodeFile="AddProductPhoto.aspx.cs" Inherits="Admin_AddProductPhoto" Title="Untitled Page" %>
<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neut ......

Asp.netÖÐDataBinder.EvalÓ÷¨µÄ×ܽá

eval()·½·¨ÔÚÔËÐÐʱʹÓ÷´ÉäÖ´ÐкóÆڰ󶨼ÆË㣬Òò´ËÓë±ê×¼µÄASP.NETÊý¾Ý°ó¶¨·½·¨bindÏà±È£¬»áµ¼ÖÂÐÔÄÜÃ÷ÏÔϽµ¡£ËüÒ»°ãÓÃÔÚ°ó¶¨Ê±ÐèÒª¸ñʽ»¯×Ö·û´®µÄÇé¿öÏ¡£¶àÊýÇé¿ö¾¡Á¿ÉÙÓô˷½·¨
Eval ·½·¨ÊǾ²Ì¬£¨Ö»¶Á£©·½·¨£¬¸Ã·½·¨²ÉÓÃÊý¾Ý×ֶεÄÖµ×÷Ϊ²ÎÊý²¢½«Æä×÷Ϊ×Ö·û´®·µ»Ø¡£Bind ·½·¨Ö§³Ö¶Á/д¹¦ÄÜ£¬¿ÉÒÔ¼ìË÷Êý¾Ý°ó¶¨¿Ø¼þµÄÖ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ