Creating a new instance of a class

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!
 
G

Guest

im using VWD 2005 beta 2
--
Look Out!

Helter Skelter
Yellow Submarine
Pepperland

PS. Get Back!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

web search 6
QueryString 2
Email Form in ASP.NET 4
Querystring 6
Feedback form 1
create a Popup 2
smtp.Send fail 17
Executing JavaScript while sending email? 2

Top