I'm trying to get the selected value of a dropdown list item. Nothing works.
SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice;
var choices = dropdown.Choices;
var selection = dropdown.GetFieldValueAsText(choices).ToString();
Also tried:
SPFieldChoice dropdown = list.Fields["Admin Guide"] as SPFieldChoice;
string selection = dropdown.GetFieldValueAsText(item["Admin Guide"]);
Tried other options as well, but nothing will grab the currently selected item.
Please help.