I have a column in a datagrid that I want to check to see a sequence.
The column can contain X number of items. They are integer values that represent a sequence.
So something like
I want to give them the ability to change the sequence, but I need to ensure that there are no duplicates. Each has to be unique. Is there a way for me, when they click the submit button to check if there are duplicates, and if it is, pop up a message. Since it is a datagrid, I might even process it on the server, and then send a message back saying sorry but they arnt unique. I know how to parse through the datagrid on the server side. Just need the logic and code either client or server to do a constraint check.