谢谢 能帮我看看这个是那里错了啊?
选择不同的RadioButton 后 ComboBox1 提供不同表 列的参考数据和 Label5 显示不同的名称,感谢 感谢
If e.Form.Controls("RadioButton1").Checked Then
e.Sender.Controls = DataTables("表A").GetComboListString("第十列")
e.Form.Controls("Label5").Visible = "名称"
If e.Form.Controls("RadioButton2").Checked Then
e.Sender.Controls = DataTables("表b").GetComboListString("第九列")
e.Form.Controls("Label5").Visible = "姓名"
If e.Form.Controls("RadioButton3").Checked Then
e.Sender.Controls = DataTables("表c").GetComboListString("第八列")
e.Form.Controls("Label5").Visible = "方式"
End If
End If
End If