i am newbie... i'm so sory... help me please I have a table detail reservation for the additional goods then on the details reservation form I plug a datagridview that displays a table of goods in the form i put textbox looking to locate data items ... before searching is function, but when the goods have been added to the detail table reservation, search is not function(error) attachment error code and search code I attach in the below.. thank you ....
Private Sub txtCari_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtCari.TextChanged
DS.Tables("tbl_barang").DefaultView.RowFilter = " kode_barang LIKE '%" & txtCari.Text & "%' OR nama_barang LIKE '%" & txtCari.Text & "%'or nama_satuan LIKE '%" & txtCari.Text & "%' or nama_spesifikasi LIKE '%" & txtCari.Text & "%'"
End Sub