step 1==>Create Enum in class
step ==> Add dropdown list in aspx page
step ==> add below code to .cs page
dropdownlistname.DataSource = Enum.GetValues(typeof(enumClassName.MethodName));
dropdownlistname.DataBind();
step ==> Add dropdown list in aspx page
step ==> add below code to .cs page
dropdownlistname.DataSource = Enum.GetValues(typeof(enumClassName.MethodName));
dropdownlistname.DataBind();
thank u ..
ReplyDelete