Code:
DV.RowFilter = String.Format("ID = 0, line like '%{1}%' AND station like '%{2}%' AND error like '%{3}%' AND by like '%{4}%' AND problem like '%{5}%' AND data like '%{6}%'", Me.txtId.Text, Me.txtLine.Text, Me.txtsearchStation.Text, Me.txtError.Text, Me.txtBy.Text, Me.txtProblem.Text, Me.txtData.Text)
I created a textbox ID and put also in the code but it gives an error "Syntax error in the expression."