foreach (DataRow dr in SysEnum.Inst.CustomerPropertyEnumeration.Rows)
{
if (dr["Name"].ToString().Trim() != "所有客户")
{
CheckedListBoxItem item = new CheckedListBoxItem();
item.Value = (int)dr["ID"];
item.Description = (string)dr["Name"];
//this.txtCustomerAtt.Properties.Items.Add(new KeyValue<int, string>((int)dr["ID"], (string)dr["Name"]));
this.txtCustomerAtt.Properties.Items.Add(item);
}
}
Devexpress----CheckBoxListEdit
最新推荐文章于 2023-08-07 13:47:58 发布