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

asp.netÏòÎļþдÈëÈÕÖ¾

 using System;
using System.IO;
namespace WriteLog
{
    /// <summary>
    /// WriteInLog µÄժҪ˵Ã÷¡£
    /// </summary>
    public class WriteInLog
    {
        private string logFileName;
        private int logFileSizes;
        
        /// <summary>
        /// Ð´ÈëÈÕÖ¾Îļþ
        /// </summary>
        public WriteInLog()
        {
            logFileName = @"d:\logfile.txt";
        }
        /// <summary>
        /// ×Ô¶¯É¾³ýÈÕÖ¾Îļþ´óС,´Ë·½·¨ÒѾ­ÖØÔØ.
        /// </summary>
        /// <param name="fileSize">ÈÕÖ¾Îļþ´óС,µ¥Î»KB</param>
        public WriteInLog(int fileSize):this()
        {
            if(fileSize != 0)
            {
                this.logFileSizes = fileSize * 1024;
            }
  &nb


Ïà¹ØÎĵµ£º

ʹÓÃAsp.NetÉú³ÉWordÎĵµ²¢Ö±½ÓÏÂÔØ

 ÔÚÍøÕ¾µÄʹÓÃÖУ¬ÓÐʱºòÐèÒª°ÑÊý¾Ý¿âÀïÃæµÄÄÚÈÝÉú³Éµ½wordÎĵµÀïÃæ£¬È»ºóÏÂÔØµ½±¾µØ½øÐв鿴£¬Ê¹ÓÃVS.NET¾Í¿ÉÒÔʵÏÖÕâ¸ö¹¦ÄÜ£¬ÏÂÃæÕâ¸öÀý×Ӿͼòµ¥µ½ÊµÏÖÁË·þÎñÆ÷¶ËÉú³ÉwordÎĵµ²¢ÌṩÏÂÔØµÄ¹¦ÄÜ£¬ËäȻûÓг¹µ×µØ°ÑÕû¸ö²Ù×÷д³öÀ´£¨ÓÈÆäÊÇдÉú³ÉwordµÄʱºò£©£¬µ«Õû¸öÁ÷³ÌÊÇÍê³ÉÁ˵ģ¬ÖÁÓÚÆäÖиüÏêϸµÄÄÚÈÝ£¬Çë²ÎÔÄMSDN ......

ASP.NET»º´æ

 
½éÉÜ
»º´æÊÇÔÚÄÚ´æ´æ´¢Êý¾ÝµÄÒ»Ïî¼¼Êõ£¬Ò²ÊÇASP.NETÖÐÌṩµÄÖØÒªÌØÐÔÖ®Ò»¡£ÀýÈçÄã¿ÉÒÔÔÚ¸´ÔÓ²éѯµÄʱºò»º´æÊý¾Ý£¬ÕâÑùºóÀ´µÄÇëÇó¾Í²»ÐèÒª´ÓÊý¾Ý¿âÖÐÈ¡Êý¾Ý£¬¶øÊÇÖ±½Ó´Ó»º´æÖлñÈ¡¡£Í¨¹ýʹÓûº´æ¿ÉÒÔÌá¸ßÓ¦ÓóÌÐòµÄÐÔÄÜ¡£
Ö÷ÒªÓÐÁ½ÖÖÀàÐ͵Ļº´æ£º
1.Êä³ö»º´æOutput caching
2.Êý¾Ý»º´æData caching
1. Êä³ö»º´æ ......

asp.netÀïµ¼³öexcel±í·½·¨»ã×Ü

1¡¢ÓÉdatasetÉú³É
public void CreateExcel(DataSet ds,string typeid,string FileName) 
  {
   HttpResponse resp;
   resp = Page.Response;
   resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
   resp.AppendHeader("Content-Dis ......

Discuz!NTÓëasp.netÕûºÏ¼¯³ÉʵÀý½Ì³Ì

ÓÉÓÚÏîÄ¿ÐèÒªÒ»¸öÂÛ̳£¬±¾À´ÓÐCSµÄ£¬ÔÚ.netϺܳöÃûµÄ¹úÍ⿪ԴÂÛ̳¡£µ«ÎªÁËÊÊÓ¦¹úÄÚµÄ·çÆø£¬×îºóÑ¡ÓÃÔÚ¹úÄÚÈçÈÕÖÐÌìµÄDiscuz!NT¡£
½«DiscuzÓëasp.net¿ª·¢µÄÍøÕ¾ÕûºÏ£¬ÓкܶàÈËÒѾ­Íê³ÉÁË¡£
µ«ÔÚÍøÉÏûÓÐÕÒµ½½ÏÏêϸµÄÃèÊö¡£·½·¨µ¹ÊÇÓкܶàÖÖ¡£
ÔÚÏîÄ¿ÖÐ×¢²áÐÂÓû§Ê±£¬Ò²Í¬Ê±µ÷ÓÃÂÛ̳µÄÓû§×¢²á£¬ÕâÑù¾Íͬ²½×¢²áÁË¡£ÖÁÓÚɾ ......

asp.net È·È϶Ի°¿òÓëÊý¾ÝÑéÖ¤¿Ø¼þµÄ³åÍ»ÎÊÌâ

 µ±Ò»¸öÍøÒ³ÖмÈÓÐÊý¾ÝÑéÖ¤¿Ø¼þ£¬ÓÖÓÐÒ»¸ö°´Å¥ÔÚµã»÷ʱ³öÏÖÌáʾ°´Å¥¡£
Èç¹ûÖ±½ÓÔÚÒ³ÃæµÄºǫ́´úÂëµÄPage_Loadº¯ÊýÖÐдÈëbtn.Attributes["Onclick"] = "return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')"£¬ÄÇôÑéÖ¤¿Ø¼þ¾Í»áʧЧ£¬ÒòΪÑéÖ¤¿Ø¼þÒ²ÊÇͨ¹ýjsʵÏֵģ¬ÕâÑùµÄ»°return confirm('È·¶¨Òª±£´æÊý¾Ý£¿')ÏÈÓÚÔ­À´µÄjs´úÂëÖ´ÐУ¬Ì ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ