Exemple #1
0
        private static void SetDateColumn(string colName, DateTime value)
        {
            user u = new user();

            u.ExecuteNonQuery("UPDATE system_options SET " + colName + " = '" + CommonFunctions.ToMySQLDate(value) + "'");
        }
Exemple #2
0
        private static void SetStringColumn(string colName, string value)
        {
            user u = new user();

            u.ExecuteNonQuery(string.Format("UPDATE system_options SET {0} = '{1}'", colName, value));
        }
Exemple #3
0
        private static void SetIntColumn(string colName, int value)
        {
            user u = new user();

            u.ExecuteNonQuery("UPDATE system_options SET " + colName + " = " + value);
        }