J
jay
I'm pretty new to asp.net and I'm having trouble just trying to set up
a basic SQLconnection within visual studio, I'm sure the problem must
be something basic but I can't seem to find it.
The problem is that the connection string ("Integrated
Security=yes;Initial Catalog=Northwind;Data Source=(local)") is
underlined within the code editor and provides the error text 'Too many
arguements for 'Public Sub New()' when you hover over the text.
a snippet of the code is below:
Imports System.Data
Imports System.Data.SqlClient
' ----- within the page_load function ------
Dim sqlConnection As SQLConnection
sqlConnection = New SqlConnection("Integrated Security=yes;Initial
Catalog=Northwind;Data Source=(local)")
a basic SQLconnection within visual studio, I'm sure the problem must
be something basic but I can't seem to find it.
The problem is that the connection string ("Integrated
Security=yes;Initial Catalog=Northwind;Data Source=(local)") is
underlined within the code editor and provides the error text 'Too many
arguements for 'Public Sub New()' when you hover over the text.
a snippet of the code is below:
Imports System.Data
Imports System.Data.SqlClient
' ----- within the page_load function ------
Dim sqlConnection As SQLConnection
sqlConnection = New SqlConnection("Integrated Security=yes;Initial
Catalog=Northwind;Data Source=(local)")