Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Creating a new class in VB codebehind

Status
Not open for further replies.

need2progm

Programmer
Dec 13, 2002
92
US
I have an asp.net page that is creating an instance of a class.
Dim myClass as new Class(p1,p2)

In Class I have 3 Constructors

Public Sub New()
'for use with collections
End Sub

Public Sub New(p1,p2)
'lots of code
End Sub

Public Sub New(p1,p2,p3,p4)
'lots of code
End Sub

Only the empty constructor is avaliable. Why?
This is such a simple thing ... I do this all the time Argh!!

Thanks in advance
 
update your references
penny1.gif
penny1.gif

The answer to getting answered -- faq855-2992
 
I will try that when I get back to work...If it doesn't snow to much. I did get lastest version of the project from sourcesafe and still having issues.

Much to learn I still have (yoda)

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top