摘要: public static List<string> GetSqlServerNames() { List<string> serverNames = new List<string>(); DataTable table = SqlClientFactory.Instance.CreateDataSourceEnumerator().GetDataSources(); foreach (DataRow dr in table.Rows) { string ser... 阅读全文
posted @ 2013-06-17 21:21 RattanyiXu 阅读(202) 评论(0) 推荐(0) 编辑