Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö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Éú³É¾²Ì¬Ò³ÃæµÄ·½·¨

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

¿ª·¢ÊÓƵÍøÕ¾£¬asp.netÊÓƵÎļþת»».flv¸ñʽ

×î½ü¹«Ë¾ÓÐÒ»¸öСÏîÄ¿ÐèÒª°ÑÊÓƵת»»³ÉFLASHÎļþ£¬Ð§¹û¾ÍÊÇÏñÓû§×¢²áyoukuÍøÒ»Ñù£¬×Ô¼º¿ÉÒÔÊÓƵÉÏ´«£¬×ª»»³Éflash¸ñʽ²¥·Å¡£
¿àÓÚÒÔǰûÓÐ×ö¹ý£¬ÓÚÊÇÂíÉÏËÑË÷ÁËÏà¹ØµÄÎÄÕ£¬¿´ÁËhttp://www.cnblogs.com/xiucai/ ºÍ http://www.cnblogs.com/seebook/¹ØÓÚÕâ·½ÃæµÄÎÄÕ£¬¶ÔÎÒ°ïÖúºÜ´ó¡£½ñÌìµÚÒ»Ì쿪²©£¬ÎҾͼǼÏÂËüÃÇ¡£
ÏÖ ......

ÔÚasp.net 2.0ÖÐʹÓÃSqlBulkCopyÀàǨÒÆÊý¾Ý

ÎÒÃǾ­³£ÒªÔÚÒ»¸ö±íÖн«Êý¾ÝǨÒƵ½ÁíÒ»¸ö±í£¬µ±È»£¬Óõķ½·¨Ê®·Ö¶àÁË¡£ÔÚ.net 2.0ÖУ¬ÌṩÁËÒ»¸ösqlbulkcopyÀ࣬Ҳ¿ÉÒÔʵÏÖÈçϵIJÙ×÷£¬ÏÂÃæ¼òµ¥½éÉÜÏ¡£±ÈÈçÒ»¸ö±íÈçÏÂ
CREATE TABLE Person3
(
PersonID int IDENTITY(1,1) PRIMARY KEY,
Name nvarchar(200),
Email nvarchar(200),
Picture image
)
INSERT INT ......

asp.net cookie²Ù×÷

µÚÒ»ÖÖ£º
using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
/// <summary>
/// CookieOper µÄժҪ˵à ......

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

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