// private void BindMemberOrder( ) { IList <EnumDescription> arrMemberOrder = MemberOrderHelper.GetMemberOrderStatusList(typeof(MemberOrderStatus)); ckbMemberOrder.DataSource = arrMemberOrder; ckbMemberOrder.DataValueField = "EnumValue"; ckbMemberOrder.DataTextField = "Description"; ckbMemberOrder.DataBind( ); }
//会员等级 private void BindMemberOrder( ) { IList <EnumDescription> arrMemberOrder = MemberOrderHelper.GetMemberOrderStatusList(typeof(MemberOrderStatus)); ddlMemberType.DataSource = arrMemberOrder; ddlMemberType.DataValueField = "EnumValue"; ddlMemberType.DataTextField = "Description"; ddlMemberType.DataBind( ); ddlMemberType.Items.RemoveAt(0); }