我有 2 个组合框。,..,cbocourse 和 cboyearandsection
如果我在 cbocurse 上单击 BSIT,则 cboyearandsection 将自动填写,无需单击任何按钮,除了选择 cbocourse 的索引
Dim BSIT() As String = {"1A", "1B", "1C", "2A", "2B", "2C", "3A", _
"3B", "3C", "4A", "4B"}
If cbocourse.SelectedIndex = "BSIS" Then
cboyear.Items.AddRange(BSIT)