-
References
I'm new to VB.NET/ASP.NET. I am required to work on a maintenance project in ASP.NET using web forms.
It has a defined an object
Dim objDBService As New DBService.Connection()
I get an error 'Type DBService.connection is not defined'
and I don't see if it is a Dll/class included in this project.
Please advice where shall I look for it if I can't find it in the references in the solution explorer.
-
What is DBService? Is that a class you made? Or a DLL you made?
-
That's what I do not know. This code is not written by me but some other programmer, I have just been given the zip file.
-
So you have the code for the DBService class? Then either cut and paste it into your other project or better yet compile it into a dll and then reference it. You'll need to browse to the location of the dll to add it to the list of references.
-
I have already checked, I do not have it in any of the folders provided, it is being referenced couple of times. It probably contains all database connection information ..
-
Ok I am confused here. You have it referenced in other projects, how did you set those references if you can't set this one? Also if you select a reference in the list of references then it shows the path to the assembly in the properties dialog (lower right).