public override bool save() { if (!isValid(new List<string>() { "cfID"})) return false; string sqlCommand = String.Format("insert into Config (prID,cdID,cfValue) values({0},{1},{2})", prID, cdID, cfValue); Sql sql = new Sql(); return sql.insertConfig(sqlCommand); }