Blue
White
Purple
Green
Red
Orange
Blue Light
White Light
Purple Light
Green Light
Red Light
Orange Light
I have set a db with employeeId as a key colum.How to "teach" asprunned aplication to prevent entering duplicates?
You need to make EmployeeID column an autonumber in your database. This is the only recommended way to avoid duplicates.