Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Identifier Expected" Error Message

Status
Not open for further replies.

dropspun

Programmer
May 2, 2001
12
0
0
US
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

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top