如果编号是字符型:
Dim C2 As WinForm.TextBoxC2 = e.Form.Controls("TextBox2")DataTables("入库").LoadFilter = "编号 Like ‘" & c2.Value & "%'"DataTables("入库").Load()