Quote:
new SelectList("DesignationId", "DesignationName")
Looking at
the documentation[
^], the first argument to the
SelectList
constructor is an
IEnumerable
sequence containing the values to display.
You are passing in a
String
, which is an enumerable sequence of characters. Therefore, your list will contain one entry for each character in the string.
Instead, you need to pass in an enumerable sequence of designations as the first parameter.