his SQL statement is used on the table adapter for the datagridview1
SELECT Descrição, idEncomendado, Estado, NºSerie, Actualização, NumEnc
FROM Table_1Encomend ados
WHERE NumEnc = @idEnc
but then i get this error
Error 1 Argument not specified for parameter 'idEnc' of 'Friend Overridable Overloads Function Fill(dataTable As demoDataSet2.Ta ble_1Encomendad osDataTable, idEnc As String) As Integer'. C:\Documents and Settings\bruno. amorim\Os meus documentos\Visu al Studio 2005\Projects\W indowsApplicati on1\WindowsAppl ication1\frmMai n.vb 67 9 WindowsApplicat ion1
on the line
Me.Table_1Encom endadosTableAda pter.Fill(Me.De moDataSet2.Tabl e_1Encomendados )
idEnc is declared in a module as Friend integer
How is it possible to see the "Preview query" on the datagridview working but, whem you go to the code this error appears?
SELECT Descrição, idEncomendado, Estado, NºSerie, Actualização, NumEnc
FROM Table_1Encomend ados
WHERE NumEnc = @idEnc
but then i get this error
Error 1 Argument not specified for parameter 'idEnc' of 'Friend Overridable Overloads Function Fill(dataTable As demoDataSet2.Ta ble_1Encomendad osDataTable, idEnc As String) As Integer'. C:\Documents and Settings\bruno. amorim\Os meus documentos\Visu al Studio 2005\Projects\W indowsApplicati on1\WindowsAppl ication1\frmMai n.vb 67 9 WindowsApplicat ion1
on the line
Me.Table_1Encom endadosTableAda pter.Fill(Me.De moDataSet2.Tabl e_1Encomendados )
idEnc is declared in a module as Friend integer
How is it possible to see the "Preview query" on the datagridview working but, whem you go to the code this error appears?
Comment