public static byte ResetNumbering(string Kode, string project) { return(Db.SingleByte( "SELECT ISNULL(MAX(ResetNum),0) FROM " + Mi.DbPrefix + "SECURITY..Numerator WHERE Kode = '" + Kode + "' AND Project = '" + project + "'")); }