摘要:
//读取连接当前数据库的进程 strSQL = "select spid from master..sysprocesses where dbid=db_id('" + strDBName + "')"; SqlCommand mycmd = new SqlCommand(strSQL, TmpConn); ... 阅读全文
posted @ 2008-08-25 10:26 renhb 阅读(495) 评论(1) 推荐(0)
|
|||
|
摘要:
//读取连接当前数据库的进程 strSQL = "select spid from master..sysprocesses where dbid=db_id('" + strDBName + "')"; SqlCommand mycmd = new SqlCommand(strSQL, TmpConn); ... 阅读全文
posted @ 2008-08-25 10:26 renhb 阅读(495) 评论(1) 推荐(0)
摘要:
System.Net.NetworkInformation.Ping ping = new System.Net.NetworkInformation.Ping(); System.Net.NetworkInformation.PingReply rep= ping.Send("127.0.0.1"); Console.WriteLine(rep.St... 阅读全文
posted @ 2008-08-25 10:24 renhb 阅读(284) 评论(1) 推荐(0) |
|||