Help! I get an "Identifier Expected" error right beneath the open parenthese in (DataSourceSelectArguments.Empty). Can anyone tell me what can be done to rid myself of this error message?
Protected Sub btnImport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnStatusImport.Click
'2. Copy data from the Access Database to the SQL Server:
Dim MyView As DataView = DirectCast(adsEngineertime_in.(DataSourceSelectArguments.Empty), DataView)
Using bulkcopy As New SqlBulkCopy(connectionStringUser)
bulkcopy.DestinationTableName = "dbo.Engineertime_in"
bulkcopy.WriteToServer(myView.Table)
End Using
End Sub
Protected Sub btnImport_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnStatusImport.Click
'2. Copy data from the Access Database to the SQL Server:
Dim MyView As DataView = DirectCast(adsEngineertime_in.(DataSourceSelectArguments.Empty), DataView)
Using bulkcopy As New SqlBulkCopy(connectionStringUser)
bulkcopy.DestinationTableName = "dbo.Engineertime_in"
bulkcopy.WriteToServer(myView.Table)
End Using
End Sub