10 2011 档案
摘要:在 Global.asax 中添加 Application_BeginRequest 事件: protected void Application_BeginRequest(object sender, EventArgs e){ string pathAndQuery = Request...
阅读全文
摘要:void MainFormLoad(object sender, EventArgs e) { this.Text = GetToZHString(1234325.78f); } public static string GetTo...
阅读全文
摘要:WebBrowser 其实是对 ActiveX 控件 SHDocVw 的封装,而这个SHDocVw的很多底层调用WebBrowser控件并没有提供实现,我们需要直接操作 SHDoceVw 控件来实现这些高级调用。操作方法如下: 1、在 windows/system32 目录下找到 shdocvw.d...
阅读全文
摘要:首先为项目添加引用 Microsoft Internet Controls public Form1() { InitializeComponent(); this.webBrowser1.AllowWebBrowserDrop = ...
阅读全文
摘要://************************// //系统信息检测 private void button1_Click(object sender, EventArgs e) { try { ...
阅读全文
摘要:1. 打开Internet信息服务(IIS)管理器,右击“网站”-》“属性”,选择“服务”。在“HTTP压缩”框中选中“压缩应用程序文件”和“压缩静态文件”,按需要设置“临时目录”和“临时目录的最大限制”; 2. 在Internet信息服务(IIS)管理器,右击“Web服务扩展”-》“增加一个新的...
阅读全文