this.gridLookUpEdit1.Properties.DataSource = dt;
this.gridLookUpEdit1.Properties.DisplayMember = dt.Columns[2].ColumnName;
this.gridLookUpEdit1.Properties.ValueMember = dt.Columns[0].ColumnName;
this.gridLookUpEdit1.Properties.AllowNullInput = DevExpress.Utils.DefaultBoolean.True;
this.gridLookUpEdit1.Properties.View.BestFitColumns();
this.gridLookUpEdit1.Properties.ShowFooter = false;
this.gridLookUpEdit1.Properties.View.OptionsView.ShowAutoFilterRow = true; //显示不显示grid上第一个空行,也是用于检索的应用
this.gridLookUpEdit1.Properties.AutoComplete = false;
this.gridLookUpEdit1.Properties.ImmediatePopup = true;
this.gridLookUpEdit1.Properties.PopupFilterMode = DevExpress.XtraEditors.PopupFilterMode.Contains;
this.gridLookUpEdit1.Properties.TextEditStyle = DevExpress.XtraEditors.Controls.TextEditStyles.Standard;