Beispiel #1
0
        public LibGlobalSettings()
        {
            LibDatabaseHandler db = new LibDatabaseHandler();

            db.DBConnect();
            DataTable dt = db.OpenRecordset("select * from WorkFlowMGMTSettings where deleteflag = 'N'");

            foreach (DataRowView dv in dt.DefaultView)
            {
                Settings.Add(dv["FieldKey"].ToString(), dv["FieldValue"].ToString());
            }
            db.DBDisconnect();
        }