コード例 #1
0
        public void ValidateUniqueClientCode(string code)
        {
            client objClient = clientDataService.GetClientByCode(code);

            if (objClient != null)
            {
                AddValidationError("Code", "- Client Code '" + code + "' already exists. Please choose a different code.");
            }
        }