ConnectionString Property

C

Carl

What does the error mean?

Exception Details: System.InvalidOperationException: The ConnectionString
property has not been initialized.

Source Error:


Line 46: objConn = New OleDbConnection(strconn)
Line 47: dataAdapter = New OleDbDataAdapter(strSql, objConn)
Line 48: dataAdapter.Fill(ds, "Employees")
Line 49: Return ds
Line 50: End Function

rgds,
Carl
 
G

Guest

Hi Friend,

I have the same problem ???
please send the solution for this

Thanks
Suresh.D
What does the error mean?

Exception Details: System.InvalidOperationException: The ConnectionString
property has not been initialized.

Source Error:


Line 46: objConn = New OleDbConnection(strconn)
Line 47: dataAdapter = New OleDbDataAdapter(strSql, objConn)
Line 48: dataAdapter.Fill(ds, "Employees")
Line 49: Return ds
Line 50: End Function

rgds,
Carl

User submitted from AEWNET (http://www.aewnet.com/)
 
G

Guest

Hi Friend,

I have the same problem ???
please send the solution for this

Thanks
Suresh.D
What does the error mean?

Exception Details: System.InvalidOperationException: The ConnectionString
property has not been initialized.

Source Error:


Line 46: objConn = New OleDbConnection(strconn)
Line 47: dataAdapter = New OleDbDataAdapter(strSql, objConn)
Line 48: dataAdapter.Fill(ds, "Employees")
Line 49: Return ds
Line 50: End Function

rgds,
Carl

User submitted from AEWNET (http://www.aewnet.com/)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top