1、单元格内容改为:
Select * from {表A} Where [第一列]='aaa'
2、
Dim aaa As String = "dasd"Dim cmd As New SQLCommandDim dt As DataTablecmd.CommandText = Tables("表B").Rows(0)("第一列").Repaqlce("aaa",aaa)dt = cmd.ExecuteReader()MessageBox.Show(dt.Datarows.Count)