这里是代码
oConn.ConnectionString = strConn
oConn.Open()
If oConn.State = ConnectionState.Open Then
ACommand = New OleDbCommand("SELECT reparacoes.acessorios,maquinas.marca FROM reparacoes INNER JOIN maquinas on reparacoes.cod_maquina=maquinas.cod_maquina", oConn)
'define um dataAdapter
AAdapter = New OleDbDataAdapter()
AAdapter.SelectCommand = ACommand
'define e preenche um DataTable com os dados
ATabela = New DataTable()
AAdapter.Fill(ATabela)
' associar campos a base de dados
xy = ATabela.CreateDataReader
' Ler da tabela
linha = ACommand.ExecuteReader
While linha.Read()
End While
End If
oConn.Close()
我找不到错误,
感谢您的帮助 最好的祝福 何塞洛佩斯