[thelist] ASP.NET: Using a Custom Class

jason.handby jason.handby at corestar.co.uk
Fri Jul 21 09:52:12 CDT 2006

Hi Casey,

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,


More information about the thelist mailing list