I am using C# / ASP.NET
I've to compare the values of the columns in grid view to make the values in the first column unique. The values are stored in ViewState["CurrentTable"] in code behind page. Suppose
COL1
JAN
FEB
MAR
APR
Since the rows are editable the user might re-enter duplicate values but I've to prevent this too. How can I check the values in the column to prevent duplicate entry? Please suggest.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Sujeet SumanRank #790 · 2.9K reputationPosted Sep 24, 2015, 8:40 AM EDT