I want to know How to find data in dataview? Like a dataview.RowFilter for ex.
Dim vDataView As New DataView(Me.AllDataSet.type)
If Me.ToolStripTextBox_Search.Text <> "" Then
Me.ToolStripStatusLabel1.Text = Me.ToolStripComboBox_Fields.Text & " Like '" & Me.ToolStripTextBox_Search.Text & "%'"
vDataView.Find = SendField(Me.ToolStripComboBox_Fields.SelectedIndex) & " Like '" & Me.ToolStripTextBox_Search.Text & "%'"
End If
Me.DataGridView_Search.DataSource = vDataView
...
Dim vDataView As New DataView(Me.AllDataSet.type)
If Me.ToolStripTextBox_Search.Text <> "" Then
Me.ToolStripStatusLabel1.Text = Me.ToolStripComboBox_Fields.Text & " Like '" & Me.ToolStripTextBox_Search.Text & "%'"
vDataView.Find = SendField(Me.ToolStripComboBox_Fields.SelectedIndex) & " Like '" & Me.ToolStripTextBox_Search.Text & "%'"
End If
Me.DataGridView_Search.DataSource = vDataView
...