Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

VB.net 'DataAccess' is not defined

Hi
In the following VB.net code I get the error 'DataAccess' is not defined

Dim cnn As DataAccess = New DataAccess(CONNECTION_STRING)

I have the following at the top of my module. What else do I need
Imports System.Data
Imports System.Data.SqlClient
0
Murray Brown
Asked:
Murray Brown
  • 2
  • 2
2 Solutions
 
louisfrCommented:
What is DataAccess supposed to be?
If it's a third-party assembly, refer to their documentation.

Maybe you need a SqlConnection object instead.
0
 
Éric MoreauSenior .Net ConsultantCommented:
Where did you find DataAccess? It is not pure .Net for sure?
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
I saw it at this link
0
 
Éric MoreauSenior .Net ConsultantCommented:
forgot to paste the link?
0
 
Murray BrownMicrosoft Cloud Azure/Excel Solution DeveloperAuthor Commented:
Thanks for the help
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now