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

asp.netÎļþºÍÎļþ¼ÐѹËõ

·¨Ò»£ºµ÷ÓÃwinrar
using Microsoft.Win32;
using System.Diagnostics;
protected void Button1_Click(object sender, EventArgs e)
    {
        RAR(@"E:\95413594531\GIS", "tmptest", @"E:\95413594531\");
    }
    /// <summary>
   /// ѹËõÎļþ
   /// </summary>
   /// <param name="DFilePath">ÐèҪѹËõµÄÎļþ¼Ð»òÕßµ¥¸öÎļþ</param>
   /// <param name="DRARName">Éú³ÉѹËõÎļþµÄÎļþÃû</param>
   /// <param name="DRARPath">Éú³ÉѹËõÎļþ±£´æÂ·¾¶</param>
   /// <returns></returns>
    protected bool RAR(string DFilePath, string DRARName,string DRARPath)
    {
        String the_rar;
        RegistryKey the_Reg;
        Object the_Obj;
        String the_Info;
        ProcessStartInfo the_StartInfo;
        Process the_Process;
        try
        {
            the_Reg = Registry.ClassesRoot.OpenSubKey(@"Applications\WinRAR.exe\Shell\Open\Command");
            the_Obj = the_Reg.GetValue("");
            the_rar = the_Obj.ToString();
            the_Reg.Close();
            the_rar = the_rar.Substring(1, the_rar.Length - 7);
            the_Info = " a    " + " " + DRARName + "  " + DFilePath +" -ep1"; //ÃüÁî + ѹË


Ïà¹ØÎĵµ£º

asp.netÖÐSystem.DateTime.Now.ToString()µÄһЩÓ÷¨


Asp.netÖеÄÈÕÆÚ´¦Àíº¯Êý
     //2007Äê4ÔÂ24ÈÕ
     this.TextBox6.Text = System.DateTime.Now.ToString("D");
     //2007-4-24
     this.TextBox7.Text = System.DateTime.Now.ToString("d");
 &nb ......

asp.net DataGridViewµ¼³öµ½ExcelµÄÈý¸ö·½·¨

http://hi.baidu.com/%E5%EB%B3%DF%C8%CB%C9%FA/blog/item/58a1540bbf0bb437b1351d9a.html
#region DataGridViewÊý¾ÝÏÔʾµ½Excel
/// <summary>
/// ´ò¿ªExcel²¢½«DataGridView¿Ø¼þÖÐÊý¾Ýµ¼³öµ½Excel
/// </summary>
/// <param name="dgv">DataGridView¶ÔÏó </param>
/// <param na ......

ASP.NET 2.0ÖеÄICallbackEventHandler˵Ã÷

AJAX¼¼ÊõËùÌᳫµÄÎÞˢлص÷£¬ÔÚÔ­À´µÄ¼¼ÊõÖÐÐèҪд´óÁ¿µÄJavaScript´úÂë»òʹÓÃһЩAJAX¿ò¼Ü£¬Ê¹µÃ¿ª·¢Ð§ÂʺͿÉά»¤ÐÔ´ó´ó½µµÍ¡£ÆäʵASP.NET2.0ÖУ¬ÒѾ­ÌṩÁËÕâÑùµÄ½Ó¿Ú£¬Õâ¾ÍÊÇICallbackEventHandler¡£
ICallbackEventHandler´æÔÚÓÚSystem.Web.UIÖУ¬ÎÒÃÇÏÈ×öÒ»¸ö·Ç³£¼òµ¥µÄÀý×ÓÀ´ÊÔÓÃһϡ£
¡¡¡¡ µÚÒ»²½£¬ÔÚVS2005Öн¨ ......

ASP.NET Web Ó¦ÓóÌÐòµÄ²¼¾Ö

ASP.NET Ó¦ÓóÌÐò±ØÐëλÓÚ IIS ÐéÄâĿ¼£¨Ò²³ÆÎªÓ¦ÓóÌÐò¸ùĿ¼£©ÖС£ASP.NET Ó¦ÓóÌÐò¿É°üº¬ÒѱàÒëµÄ³ÌÐò¼¯£¨Í¨³£Êǰüº¬ÒµÎñÂß¼­µÄ DLL Îļþ£©¡¢ÓÃÓÚ´æ´¢Ô¤±àÒë´úÂëµÄÒÑ֪Ŀ¼£¨Ä¿Â¼Ãû×ÜÊÇ \Bin£©¡¢´æ´¢ÔÚ»ùÓÚÎı¾µÄ¡¢Ò×¶ÁµÄ Web.config ÎļþÖеÄÅäÖÃÉèÖá¢Ò³¡¢·þÎñÆ÷¿Ø¼þ£¬ÒÔ¼° XML Web ·þÎñ¡£
·þÎñÆ÷ÖÐÈκβ»ÓëÆäËûÓ¦Óà ......

asp.netÖлùÓÚFormÑéÖ¤µÄ½ÇÉ«ÊÚȨÑéÖ¤

ÒÔÏÂÀàÈÝÎª×ªÔØ£¬µ«ÊDz»ÖªµÀÊÇʲôԭÒò£¬¾­±¾È˲âÊÔÕâ¸ö·½·¨ÓÐÒ»¸öbug£¬°´ÕÕÒÔÏÂÀàÈÝËùÉè¼ÆµÄ½ÇÉ«ÑéÖ¤²»Äܳɹ¦¡£Application_AuthorizeRequestʼþ¸ÄΪApplication_AuthenticateRequestʼþ²ÅÄÜʵÏÖ¡£
Asp.netµÄÉí·ÝÑéÖ¤ÓÐÓÐÈýÖÖ£¬·Ö±ðÊÇ"Windows | Forms | Passport"£¬ÆäÖÐÓÖÒÔFormsÑéÖ¤ÓõÄ×î¶à£¬Ò²×îÁé»î¡£
Forms ÑéÖ¤ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ