Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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 Ìá½»±íµ¥·½Ê½·¢ËÍÊÖ»ú¶ÌÐÅ

        string FormURL = "http://10.45.19.80:8080/easysendok.jsp";
        //±íµ¥ÐèÒªÌá½»µÄ²ÎÊý
        //sendobj ²ÎÊýΪ½ÓÊÕ¶ÔÏó£¨ÊÖ»úÓû§£©£»sendTextΪ¶ÌÐÅÄÚÈÝ 
   &n ......

ASP.NETÉú³É¾²Ì¬Ò³ÃæµÄ·½·¨

ʹÓÃASP.NETÉú³É¾²Ì¬Ò³ÃæµÄ·½·¨ÓÐÁ½ÖÖ£¬µÚÒ»ÖÖÊÇʹÓÃC#ÔÚºǫ́Ӳ±àÂ룬µÚ¶þÖÖÊǶÁÈ¡Ä£°åÎļþ£¬Ê¹ÓÃ×Ö·û´®Ìæ»»µÄ·½·¨¡£µÚÒ»ÖÖ·½·¨±àÂëÁ¿´ó£¬
¶øÇÒά»¤±È½ÏÀ§ÄÑ¡£ÎÒÖص㽲½âµÚ¶þÖÖ·½·¨¡£µÚ¶þÖÖ·½·¨µÄ»ù±¾Ë¼Â·ÊÇ£ºÊ¹ÓÃDWÖ®ÀàµÄ¹¤¾ßÉú³ÉÒ»¸ö¾²Ì¬Ò³ÃæÄ£°å¡£¶ÁÈ¡¸ÃÄ£°åÎļþ£¬È»ºó¶ÔÀïÃæµÄÌØÊâ±ê¼ÇʹÓÃ
ÕæʵµÄÊý¾ÝÌæ»»µô£¬²¢Éú³ÉÒ ......

ASP.NET³£¼û°²È«ÎÊÌâ

ASP.NET³£¼û°²È«ÎÊÌâ
Ò»¡¢SQLÓï¾ä©¶´
Ðí¶à³ÌÐòÔ±ÔÚÓÃsqlÓï¾ä½øÐÐÓû§ÃÜÂëÑé֤ʱÊÇͨ¹ýÒ»¸öÀàËÆÕâÑùµÄÓï¾äÀ´ÊµÏֵģº 
Sql="Select * from Óû§±í where ÐÕÃû = '" + name + "' and ÃÜÂë = '" + password + "'" 
ͨ¹ý·ÖÎö¿ÉÒÔ·¢ÏÖ£¬ÉÏÊöÓï¾ä´æÔÚ×ÅÖÂÃüµÄ©¶´¡£µ±ÎÒÃÇÔÚÓû§Ãû³ÆÖÐÊäÈëÏÂÃæµÄ×Ö·û´®Ê±£ºtes ......

XPÏÂasp.netÓû§µÄÉèÖÃÎÊÌâ

 1.    ÔÚXPÏ£¬IIS·¢²¼asp.net³ÌÐòʱ£¬ÓÐʱ»áÓöµ½±¨´í“µ±Ç°Óû§ÎÞ·¨·ÃÎÊIISÔªÊý¾Ý¿â”»ò“ASP.NETÓû§ÎÞ·¨·ÃÎÊÖ¸¶¨Ä¿Â¼”£¬ÎÊÌâµÄ½â¾ö·½·¨ÈçÏ£º
       1.ÔÚÄãËùÐèÒª·ÃÎʵÄ×ÊԴĿ¼ÉÏÓÒ¼üÑ¡Ôñ “¹²ÏíºÍ°²È«”£¬È»ºóµã»÷“°²È«”ҳǩ¡ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ