[thelist] ASP.NET: Using a Custom Class

Casey Crookston caseyc at IntelliSoftmn.com
Fri Jul 21 14:40:52 CDT 2006


Perfect!  Thanks for the help!

~~~~~~~~~~~~~~~~~~~~~

You've done the first bit, which is to declare an object variable of
your class's type. Now you have to set it to an instance of your class.
I think in VB.NET you do this by adding the word "New":
 
	Dim objSM As New csSendMail
	lbl_submit.Text = objSM.emailForm(formResults,
formResults("Email_Address")) 



Jason 





More information about the thelist mailing list