Error in vb .net

Joined
Jul 18, 2008
Messages
3
Reaction score
0
hello guys,
I am getting the following error in my asp. net project. Please help me to rectify it:

Server Error in '/WebSite1' Application.

Line 1: Incorrect syntax near ')'.

[font=Arial, Helvetica, Geneva, SunSans-Regular, sans-serif]Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Line 1: Incorrect syntax near ')'.

Source Error:

Line 23: Dim mydataset As New DataSet()
Line 24:
Line 25: mydataAdapter.Fill(mydataset, "student")
Line 26:
Line 27: Dim mydataTable As DataTable[/font]
mydataAdapter is a DataAdapter.

Thanks,
 
Back
Top