摘要: 1、检测注册表只安装了sqlserver2000的时候,好办,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSQLServer\CurrentVersion,这是key,用代码取到Value,搞定,具体代码可以google,下面贴的我也没试过,RegistryKey regkey = Registry.LocalMachine.OpenSubKey("SOFTWARE", true).OpenSubKey(@"Microsoft\MSSQLServer\MSSQLServer\CurrentVersion", true); if (regkey == nul 阅读全文
posted @ 2009-02-20 14:43 张倩 阅读(1187) 评论(0) 推荐(0) 编辑