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

ASP.NetÖеļ¸ÖÖÎļþÏÂÔØ·½·¨

//TransmitFileʵÏÖÏÂÔØ
    protected void Button1_Click(object sender, EventArgs e)
    {
        /*
         ΢ÈíΪResponse¶ÔÏóÌṩÁËÒ»¸öÐµķ½·¨TransmitFileÀ´½â¾öʹÓÃResponse.BinaryWrite
         ÏÂÔØ³¬¹ý400mbµÄÎļþʱµ¼ÖÂAspnet_wp.exe½ø³Ì»ØÊÕ¶øÎÞ·¨³É¹¦ÏÂÔØµÄÎÊÌâ¡£
         ´úÂëÈçÏ£º
         */
        Response.ContentType = "application/x-zip-compressed";
        Response.AddHeader("Content-Disposition", "attachment;filename=z.zip");
        string filename = Server.MapPath("DownLoad/z.zip");
        Response.TransmitFile(filename);
    }
    //WriteFileʵÏÖÏÂÔØ
    protected void Button2_Click(object sender, EventArgs e)
    {
        /*
         using System.IO;
        
         */
        string fileName = "asd.txt";//¿Í»§¶Ë±£´æµÄÎļþÃû
        string filePath = Server.MapPath("DownLoad/aaa.txt");//·¾¶
        FileInfo fileInfo = new FileInfo(filePath);
        Response.Clear();
        Response.ClearContent();
        Response.ClearHeaders();
        Response.AddHeader("Content-Disposition", "attachment;filename=" + fileName);
        Response.AddHeader("Content-Length", fileInfo.Lengt


Ïà¹ØÎĵµ£º

ÕûÀíһϱðÈËÓйØASP.NETµÄºÃ²©ÎÄ£¬Ã»Ê¿´¿´

1¡¢ASP.NETÖеÄAJAXÓ¦Óÿª·¢×ܽá
http://blog.csdn.net/zhoufoxcn/archive/2009/12/07/4954645.aspx
2¡¢ÓÃ×Ô¶¨ÒåIHttpModuleʵÏÖURLÖØÐ´
http://blog.csdn.net/zhoufoxcn/archive/2009/07/14/4346356.aspx
3¡¢°ÑC#Öз½·¨ÖØÔØËµÍ¸
http://blog.csdn.net/zhoufoxcn/archive/2008/09/09/2902078.aspx
4¡¢.net ʵÏÖ URLÖØ ......

Cache Management in ASP.NET

Introduction
Before explaining cache management in ASP.NET, let me clarify that different people use different terms for explaining the same concept i.e. managing data. Some people refer to it as state management and some others refer to it as cache management. I love to use the term cache manageme ......

ÔÚAsp.netÖв¿ÊðºÍʹÓÃ΢ÈíµÄTreeView¿Ø¼þ


ÎÒÏëʹÓÃÒ»¸öTreeView¿Ø¼þÀ´ÏÔʾÎļþ
¼ÐµÄ½á¹¹£¬¿ÉÒÔÔÚAsp.netÖÐûÓÐĬÈϵÄTreeview¿Ø¼þ£¬ÓÚÊÇ£¬ÎÒ²éÕÒÁËÏà¹Ø×ÊÁÏ£¬ÖªµÀ΢Èí·¢²¼ÁËËüµÄ¿Ø¼þIEWebControls.ÎÒÏÂÔØ
Á˸ÿؼþ£¬²¢°²×°µ½ÁË×Ô¼ºµÄ»úÆ÷ÉÏ¡£
   1¡¢ÏÂÔØ£º
ÏÂÔØµÄÍøÖ·
http://msdn.microsoft.com/downloads/s
amp
les/internet/
[url=/code/as ......

¡¾ASP.NETרÌâ¡¿(10)——EXT JS ʹÓÃ×ܽá

֮ǰд¹ýһϵÁеÄExtJSµÄʹÓý̳̣¬µ«ÊÇ»ù±¾±È½ÏÁãÉ¢£¬±¾ÎÄÖ÷Òª¶ÔÆä½øÐйéÄÉ×ܽᡣϣÍû¶ÔÓÚ³õѧ»òÕ߸´Ï°extjsµÄͬÃËÃÇÓÐËù°ïÖú¡£
ÁбíÇåµ¥ÈçÏÂËùʾ£º
1¡¢ExtJSµÄʹÓ÷½·¨»ã×Ü(1)——ÅäÖúͱí¸ñ¿Ø¼þʹÓà £º
http://blog.csdn.net/rocket5725/archive/2009/09/09/4535323.aspx
2¡¢ExtJSµÄʹÓ÷½·¨»ã×Ü(2)&mdash ......

ASP.netÒ³ÃæÊµÏÖMSSQLÊý¾Ý¿âµÄ´´½¨ºÍ²Ù×÷£¬Êǿⴴ½¨£¡

///   <summary>  
        ///   ´´½¨Êý¾Ý¿â¡£  
        ///   </summary>
        ///   <param name="srvName">±íÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ