随笔分类 - Asp.net
摘要: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...
阅读全文
摘要:using System;using System.Xml;namespace WebLayout.App_Code{ public class XmlHelper { public string XmlPath { get; set; } private XmlDocument xmldoc = new XmlDocument(); /// <summary> /// 加载文件 /// </summary> public void LoadXml() { tr...
阅读全文
posted @ 2013-05-21 16:05
RattanyiXu

浙公网安备 33010602011771号