我在一个下拉窗口里设置了一个动态加载代码 发现不起作用 求高手解答
代码放在textbox的textchanged事件中
With e.Form
If e.sender.text <> "输入关键字查询" Then
Dim dst As Table = Tables("库存选择产品_table1")
Dim txb1 As WinForm.TextBox = .Controls("TextBox1")
dst.DataTable.LoadFilter = "[产品自动编号] Like '*" & txb1.text & "*' or [产品名称] Like '*" & txb1.text & "*' Or [规格] Like '*" & txb1.text & "*' Or [产品识别码] Like '*" & txb1.text & "*' Or [货位] Like '*" & txb1.text & "*'Or [品牌] Like '*" & txb1.text & "*'"
dst.DataTable.Load
End If
End With