Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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´óÊý¾ÝÁ¿²éѯ·ÖÒ³Àý×Ó

 Èç¹ûÊÇaccess ¾ÍÓÃÕâ¸öSQLHELPER http://hi.csdn.net/link.php?url=http://blog.csdn.net/zzxap
Èç¹ûÊÇMSSQL ¾ÍÓÃÕâ¸ösqlhelper http://www.cnblogs.com/zzxap/archive/2009/11/05/1596773.html
ǰ̨ Èç¹ûÄãÓõÄÊÇ gridview ¾Í°ÑRepeaterÌæ»»³Égridview ¡£Ò»ÑùµÄ¡£¡£
<form id="frm01" action="" method="pos ......

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

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

ASP.NET¶ÁÈ¡wordµ½Ò³Ãæ

 JavaScriptʵÏÖ£º
<mce:script type ="text/javascript" ><!--
function readWord()
{
var div1=document .getElementById ("div1");
var WordApp,WordDoc,Str;
WordApp =new ActiveXObject ("Word.application");
WordDoc =WordApp.Documents.Open("F:\\¹¤×÷ÈÕÖ¾.doc");
......

asp.net »ØÖ´(postback)ºó¶¨Î»ÎÊÌâ

ÓÃasp.net µÄ»ØÖ´(postback)ÊǺÜˬ£¬µ«ÈôÒ»¸ö³¤³¤µÄÒ³Ã棬һ»ØÖ´ºó£¬Ìøµ½ÁËÒ³Ê×£¬ÌåÑ鲻ˬ¡£ µ«ÔÚasp.netµÄpageÒ³ÃæÀïÃæÓÐÒ»¸öºÜˬµÄÊôÐÔPage.MaintainScrollPositionOnPostBack ÊôÐÔ£¬ÉèΪtrue¼´¿É¡£ »ñÈ¡»òÉèÖÃÒ»¸öÖµ£¬¸Ãֵָʾ»Ø·¢ºóÊÇ·ñ½«Óû§·µ»Øµ½¿Í»§¶Ëä¯ÀÀÆ÷ÖеÄͬһλÖᣠ<%@ Page Title="" Lang ......

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

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