private static void SetDateColumn(string colName, DateTime value) { user u = new user(); u.ExecuteNonQuery("UPDATE system_options SET " + colName + " = '" + CommonFunctions.ToMySQLDate(value) + "'"); }
private static void SetStringColumn(string colName, string value) { user u = new user(); u.ExecuteNonQuery(string.Format("UPDATE system_options SET {0} = '{1}'", colName, value)); }
private static void SetIntColumn(string colName, int value) { user u = new user(); u.ExecuteNonQuery("UPDATE system_options SET " + colName + " = " + value); }