【发布时间】:2013-12-06 21:57:17
【问题描述】:
我在 Label 控件中显示与绑定到 DataGridView 的 BindingSource 不同的值,具体取决于选择的行。
现在,标签具有如下所示的数据绑定:
this.label9.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.bev_BindingSource, "countryRegion", true));
成功显示countryRegion 列的值。
是否可以将数据绑定设置为两列的串联结果,在本例中为 countryRegion 和 country?
【问题讨论】:
标签: c# winforms data-binding