SQL 在结果中搜索 结贴结果原帖:
Dim dt1 As New DataTable dt1 = datagridview1.DataSource Dim dt2 As New DataTable Dim dv As New DataView(dt1) dv.RowFilter = "" + ComboBox2.Text + "" + ComboBox1.Text + "'" + TextBox2.Text + "'" dt2 = dv.ToTable datagridview1.DataSource = dt2