Hi I get the error
D:\development\aspdotnet\classes\AccessDatabaseComponent.vb(2) : error BC30466: Namespace or type 'Data' for the Imports 'System.Data' cannot be found.
Imports System.Data
~~~~~~~~~~~
when I try and compile the code shown below
Imports System
Imports System.Data
Namespace AccessDatabaseConnection
Public Class AccessDB
End Class
End Namespace
what makes this perplexing for this newbie is that I can import these namespaces when using codebehind files in the same directory
Any help much appreciated
D:\development\aspdotnet\classes\AccessDatabaseComponent.vb(2) : error BC30466: Namespace or type 'Data' for the Imports 'System.Data' cannot be found.
Imports System.Data
~~~~~~~~~~~
when I try and compile the code shown below
Imports System
Imports System.Data
Namespace AccessDatabaseConnection
Public Class AccessDB
End Class
End Namespace
what makes this perplexing for this newbie is that I can import these namespaces when using codebehind files in the same directory
Any help much appreciated