Creating a new instance of a class

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hi,

i want to create a new instance of the MailMessage class in ASP.NET. i have
used <%@ include System.Net.Mail %>.

my code is:
<script runat="server">
//Create a new instance of the MailMessage class
MailMessage fdBk = new MailMessage();
</script>

but whe i try to type some more code, the fdBk doesn't come up in the
intellisense. have i done something wrong or is my software screwed up?
thanks beforehand
--
Look Out!

Helter Skelter
Yellow Submarine
Pepperland

PS. Get Back!
 
im using VWD 2005 beta 2
--
Look Out!

Helter Skelter
Yellow Submarine
Pepperland

PS. Get Back!
 
Back
Top