CheckedComboBoxEdit ccbgb;

ccbgb绑定方式ccbgb .Properties .DataSource =数据集;

ccbgb.Properties.DisplayMember = "要显示的字段";
            ccbgb.Properties.ValueMember = "要绑定的字段";

在重置事件中

ccbgb.SetEditValue("");

然后在

private void ccbgx_EditValueChanged(object sender, EventArgs e)
        {
            if (ccbgx.EditValue.ToString() == "")
            {
                ccbgx.Text = "初始值";
            }
        }

04-18 03:25