this.name.DropDownStyle =ComboBoxStyle.DropDown;

解决方案 »

  1.   

    在绑定后向Combobox的索引0处添加一个新的Item就可以了.也可以用union联合查询在查到的记录的第一个位置加入一行记录.基本像如下的例子:select 0, "" from table//这个记录为显示到第一个位置的记录.
    union
    select id, name from table这样也会在第一个元素位置显示一个空的行.
      

  2.   

    初始化时数据加载后再讲 COMBOX 的TEXT属性 置空!
      

  3.   

    this.name.DropDownStyle =ComboBoxStyle.DropDown;
    this.name.Text="";