Ò׽ؽØÍ¼Èí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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³ÌÐòÖг£ÓõÄÈýÊ®ÈýÖÖ´úÂë

ASP.NET³ÌÐòÖг£ÓõÄÈýÊ®ÈýÖÖ´úÂë 
1. ´ò¿ªÐµĴ°¿Ú²¢´«ËͲÎÊý£º 
¡¡¡¡´«ËͲÎÊý£º
response.write("£¼script£¾window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)£¼/script£¾")
¡¡¡¡½ÓÊÕ²ÎÊý£º
string a = Request.QueryString("id");
string& ......

ASPxTreeList ´úÂë°ó¶¨Êý¾Ý£¨ASP.NETµÚÈý·½¿Ø¼þ£©

 public void MyGetDepart()
    {
        string sSql = @"select DepartId,DepartName as 'Ç廪¸½ÖÐ',ParentId from sDepart";
        DataTable table = CommClass.GetDataTable(sSql);//BoolDAL.DbHelper.GetDataTabl ......

ASP.NETÅäÖÃOracleµÄÏà¹ØËµÃ÷

²        Oracle9iµÄ°²×°£¬Çë²ÎÕÕ¹Ù·½µÄ°²×°ËµÃ÷¡£
²        Oracle9i°²×°³É¹¦ÒÔºó£¬Ê¹ÓùÜÀíÔ±£¨Óû§Ãû£ºsys¡¢ÃÜÂ룺sys£©µÄÉí·ÝµÇ¼½øÈ¥£¬´´½¨Ò»¸öÓû§ddymis£¬ÃÜÂ룺ddymis,½ÇɫĬÈϸ³Óèdba¡£
²      ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ