摘要: 不管单行还是多行dos命令,你都可以轻松执行。private void button2_Click(object sender, EventArgs e){ Process p = new Process(); p.StartInfo.FileName = "cmd.exe"; p.StartInfo.UseShellExecute = false; p.StartInfo.RedirectSta... 阅读全文
posted @ 2008-07-14 15:14 非♀闪 阅读(389) 评论(0) 推荐(0) 编辑
摘要: 1.「开始」菜单->运行--启动sql server 2005 服务net start mssqlserver--停止sql server 2005 服务net stop mssqlserver2.「开始」菜单->程序->Microsoft SQL Server 2005->配置工具SQL Server Configuration Manager->SQL Serve... 阅读全文
posted @ 2008-07-14 15:00 非♀闪 阅读(8255) 评论(0) 推荐(0) 编辑
摘要: 方法有以下两种:1,在web.config中加上以下语句:<system.web><httpRuntime maxRequestLength="102400" executionTimeout="720" /></system.web>来自MSDN解释: httpRuntime是配置asp.net http运行时设置,以确定如何处理对asp.net应用程序的请求... 阅读全文
posted @ 2008-07-14 10:32 非♀闪 阅读(596) 评论(0) 推荐(0) 编辑