Home > .Net > Convert string value to enum

Convert string value to enum

(Enums.RequestType)Enum.Parse(typeof(Enums.RequestType), rblRequestType.SelectedItem.Text)

Comments are closed.

TOP