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"; //ÃüÁî +
Ïà¹ØÎĵµ£º
×î½ü¹«Ë¾ÓÐÒ»¸öСÏîÄ¿ÐèÒª°ÑÊÓƵת»»³ÉFLASHÎļþ£¬Ð§¹û¾ÍÊÇÏñÓû§×¢²áyoukuÍøÒ»Ñù£¬×Ô¼º¿ÉÒÔÊÓƵÉÏ´«£¬×ª»»³Éflash¸ñʽ²¥·Å¡£
¿àÓÚÒÔǰûÓÐ×ö¹ý£¬ÓÚÊÇÂíÉÏËÑË÷ÁËÏà¹ØµÄÎÄÕ£¬¿´ÁËhttp://www.cnblogs.com/xiucai/ ºÍ http://www.cnblogs.com/seebook/¹ØÓÚÕâ·½ÃæµÄÎÄÕ£¬¶ÔÎÒ°ïÖúºÜ´ó¡£½ñÌìµÚÒ»Ì쿪²©£¬ÎҾͼǼÏÂËüÃÇ¡£
ÏÖ ......
ASP.NET defines an application as the sum of all files, pages, handlers, modules, and executable code that can be invoked or run in the scope of a given virtual directory (and its subdirectories) on a Web application server. For example, an "order" application might be published in the "/order" virt ......
¹«Ë¾ÔÓÐÒ»¸ö¾ÖÓòÍø£¬¾¹ý¶àÄêµÄÐÞÐÞ²¹²¹£¬ÒѾ´´½¨Á˲»ÉÙµÄÄÚÈÝ£¬°üÀ¨Ò»Ð©Êý¾Ý¿â²éѯ±¨±í¡¢¹¤×÷Á÷µÈÍøÕ¾£¬ÕâЩÍøÕ¾ÓÐһЩÊÇÓÃASP.NETÀ´¿ª·¢µÄ£¬²¢ÇÒÓÃÁ˺ܶàÄ꣬»ýÀÛÁ˺ܶàÒµÎñÊý¾Ý£»ÏÖÔÚ¹«Ë¾Ïë°Ñ¾ÖÓòÍøÓÃWSS3.0À´¼ÜÉ裬Õâ¾ÍÃæÁÙµ½Ò»¸öºÜ¼¬ÊÖµÄÎÊÌ⣬¾ÍÊÇÔõÑùÀ´´¦ÀíÕâЩ¾ÉµÄÍøÒ³¡£Èç¹ûÍƵ¹ÖØÀ´£¬ÄÇô¹¤×÷Á¿½«ÊǷdz£ÏÅÈ˵ģ ......
ASP.NET³£¼û°²È«ÎÊÌâ
Ò»¡¢SQLÓï¾ä©¶´
Ðí¶à³ÌÐòÔ±ÔÚÓÃsqlÓï¾ä½øÐÐÓû§ÃÜÂëÑé֤ʱÊÇͨ¹ýÒ»¸öÀàËÆÕâÑùµÄÓï¾äÀ´ÊµÏֵģº
Sql="Select * from Óû§±í where ÐÕÃû = '" + name + "' and ÃÜÂë = '" + password + "'"
ͨ¹ý·ÖÎö¿ÉÒÔ·¢ÏÖ£¬ÉÏÊöÓï¾ä´æÔÚ×ÅÖÂÃüµÄ©¶´¡£µ±ÎÒÃÇÔÚÓû§Ãû³ÆÖÐÊäÈëÏÂÃæµÄ×Ö·û´®Ê±£ºtes ......
Ö÷ÒªµÄÔÀí¾ÍÊÇÌ滻ģ°åÀïµÄÌØÊâ×Ö·û¡£
1¡¢¾²Ì¬Ä£°åÒ³Ãæ template.html£¬Ö÷ÒªÊǶ¨ÒåÁËһЩÌØÊâ×Ö·û£¬ÓÃÀ´±»Ìæ»»¡£
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"> <html> <he ......