老师些,我选择账号后,部门自动选择对应行的部门,这个代码怎修改啊?
Dim zh As WinForm.ComboBox = e.Form.Controls("账号")Dim dr As DataRow = zh.SelectedItem If dr IsNot Nothing Then e.Form.Controls("部门").Value = dr("TextBox")End If