如何实现选择列显示???
我的代码是
Dim str As String = Label2.Text
Dim dt As New DataTable
Dim dv As New DataView
Me.dv.RowFilter = "姓名='" + str + "'"
OleDbDataAdapter1.Fill(dt)
DataGrid1.DataSource = dt
为什么datagrid里输出的还是整张表,而不是姓名=Label2.Text的行????
刚看是学,请大家帮忙哈!!!!!!!!!!