예제 #1
0
 private void BindBusinessType()
 {
     FieldInfo[] fieldInfo = typeof(BusinessType).GetFields();
     foreach (var item in fieldInfo)
     {
         if (!item.IsSpecialName)
         {
             BusinessType obj = (BusinessType)item.GetRawConstantValue();
             this.chklBusinessType.Items.Add(new ListItem(obj.GetDescription(), item.GetRawConstantValue().ToString()));
         }
     }
     this.chklBusinessType.Items[0].Selected = true;
 }