示例#1
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            BaseConfigInfo info = new BaseConfigInfo();

            info.Dbconnectstring = @"Data Source=F:\Doctments\Works\Mine\iTCAWeb\trunk\LiteCMS.Web\config\db.config";
            info.Dbtype          = "Sqlite";
            info.Tableprefix     = "wy_";
            info.ApplictionPath  = "/";
            BaseConfigs.Save(info);
        }