ToolStripComboBox 绑定数据

 

//添加ComboBox

tcbbQueryCondition.ComboBox.DataSource = RelationalOperators.GetAllOperators();
tcbbQueryCondition.ComboBox.DisplayMember = "OperatorName";
tcbbQueryCondition.ComboBox.ValueMember = "Operator";

posted on 2017-04-12 18:51  嘟嘟他爸  阅读(841)  评论(0编辑  收藏  举报

导航