我有combox和datagrid。每当我选择combox value datagrid时,都应该用新数据加载,这很好用。但是当我选中所有的列时,我已经用复选框DataGridTemplateColumn.HeaderTemplate了,复选框也是选中的,也是用未选中的。两个都很好。现在我的问题是,当我选择combobox时,应该取消选中datagrid --> headertemplate复选框。有没有什么我可以为此触发的事件?下面是我的代码。Combox在数据
Protected Sub ComBox_GER1_SelectedIndexChanged(sender As Object, e As EventArgs) Handles ComBox_GER1.SelectedIndexChanged ComBox_GER1.ClearSelection()
End
在页面加载ComBox_MDCList被禁用,直到其他下拉之一选择索引=“必胜客”。问题是,在第一个下拉列表启用它之后,如果选择了第二个下拉列表,并且不= Pizza,那么它将再次禁用。只要1下拉列表= Pizza,我如何才能保持启用ComBox_MDCList?= False分叫 If (ComBox_Growth1.Text Or ComBox_Growth2.Text ="Pizza") Then
not sure if it's needed but I'm "clearing" the old data (if there's any) before putting the new incombox.RowSource = ""
SQL = "SELECT [some_value] FROM [a_table] WHERE [another_value] =