摘要: using System.ServiceProcess; System.ServiceProcess.ServiceController[] serviceController = System.ServiceProcess.ServiceController.GetServices(); foreach (System.ServiceProcess.ServiceController servi...  阅读全文
posted @ 2010-02-02 14:06 MHL 阅读(3) | 评论 (0)编辑
     摘要: 允许 Windows Service  与其它程序进行交互 如图:  阅读全文
posted @ 2010-01-18 15:14 MHL 阅读(10) | 评论 (0)编辑
     摘要: windows 7 下安装了 oracle p6810189_10204_Win32 oracle client 版本:10204_vista_w2k8_x64_production_client 在windows 7 位下安装的方法: 一、解压后修改 p6810189_10204_Win32\Disk1\install\oraparam.ini文件 [Certified Versions] #...  阅读全文
posted @ 2009-12-23 00:30 MHL 阅读(34) | 评论 (0)编辑
     摘要: 显示行号 复制代码 ? 这是一段程序代码。 --打开 EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp_configure 'xp_cmdshell', 1;RECONFIGURE;--关闭 EXEC sp_configure 'show advanced options', 1;RECONFIGURE;EXEC sp...  阅读全文
posted @ 2009-12-13 11:14 MHL 阅读(10) | 评论 (0)编辑
     摘要: /*** Copyright Microsoft, Inc. 1994 - 2000** All Rights Reserved.*/SET NOCOUNT ONGOUSE masterGOif exists (select * from sysdatabases where name='Northwind') drop database NorthwindgoDECLARE @device_d...  阅读全文
posted @ 2009-11-29 12:17 MHL 阅读(9) | 评论 (0)编辑
     摘要: 代码: ScriptManager.RegisterClientScriptBlock(UpdatePanel1, typeof(UpdatePanel), "test", "alert('test');", true); 解释:           ...  阅读全文
posted @ 2009-11-12 22:07 MHL 阅读(14) | 评论 (0)编辑
     摘要:   显示行号 复制代码 ? 这是一段程序代码。 SELECT [name], case [type] when 'U' then 'TB' when 'V' then 'VE' when 'P' then 'SP' when 'IF' then 'FC' end as 类型, [create_date]as 创建时间, [modify_date] as 修改时间 FROM sys....  阅读全文
posted @ 2009-11-09 11:32 MHL 阅读(19) | 评论 (0)编辑
     摘要: 这是在GridView里面没有控件的情况下,有控件另当别论 隐藏行号 复制代码 ? 这是一段程序代码。 var gdview=<%=gridview.ClientID%>;//gridview是GridView控件的ID 或者 隐藏行号 复制代码 ? 这是一段程序代码。 //1 读取指定行单元格的值 如果是0则读出其表头的值 //rowIndex=1就是第一行的值 function ...  阅读全文
posted @ 2009-10-28 11:25 MHL 阅读(44) | 评论 (0)编辑
     摘要: Windows Vista下IIS 7发布WCF设置步骤稍微有些繁琐. 1. Control Panel -> Programs and Features -> Turn Windows features on or off -> Internet Information Services: 选中Web Management Tools -> IIS 6 Managemen...  阅读全文
posted @ 2009-10-27 21:08 MHL 阅读(45) | 评论 (0)编辑
     摘要: 保存注册表文件,增加一个右建菜单 Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell\DeleteSVN] @="Delete SVN Folders" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Folder\shell...  阅读全文
posted @ 2009-10-27 21:08 MHL 阅读(3) | 评论 (0)编辑