I am developing asp.net mvc application...in one of the form i have field State which shold be validated server side....
state should only state values from given list, It should be two character and from list. Hardcode list that is 'AA', 'AB' and so on..
I have taken txtbox for the field of State...now how do i validate the entered value with hardcode list???
please help me how do i do that?
View Complete Post