using System; using System.Collections.Generic; using System.Text; using System.ComponentModel; namespace Mesnac.Basic { public class DataBaseInfo { private String connectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=iscada.mdb"; [Description("数据库的连接串"), Category("数据库连接串")] public string ConnectionString { get { return connectionString; } set { connectionString = value; } } } }