Monday, 6 August 2012

Get Enum Value and assign to properties


 UIEnums.CallStatus Selected = (UIEnums.CallStatus)Enum.Parse(typeof(UIEnums.CallStatus), ddlCallStatus.SelectedValue.ToString());            
objAppointment.intsCallStstus = Convert.ToInt16((Int16)Selected);

No comments:

Post a Comment