Sql_OneStoreData = New OleDbCommand("Select * From [Select Table_Name From Store_List Where Store_Name='" & CStr(DataGridView1.Rows(DataGridView1.CurrentCellAddress.Y.ToString()).Cells(0).Value) & "' And Store_Address='" & CStr(DataGridView1.Rows(DataGridView1.CurrentCellAddress.Y.ToString()).Cells(3).Value) & "'] Order By Date_Name ASC", conn)
Rs_OneStoreData = Sql_OneStoreData.ExecuteReader
语句目的是从From子句中查到数据表名称,然后嵌套查询
以上为代码错误提示如图,麻烦各位给解答一下原因,需要如何修改,谢谢~