I have a datagridview that seems to be working fine until the user adds a name into the unique name column that already exists.
I am getting this:
System.Data.ConstraintException: Column 'Name' is constrained to be unique. Value 'test' is already present.
Any suggests as to where and how I capture this error and prevent the users from adding another name, case insensitive, to prevent this huge error from coming up?
Thanks!