471,617 Members | 1,087 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,617 software developers and data experts.

Creating a new instance of a class

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!
Feb 15 '06 #1
2 2067
Are you using Visual Web Deveopler, VS 2005 or VS.NET 2003?

Feb 15 '06 #2
im using VWD 2005 beta 2
--
Look Out!

Helter Skelter
Yellow Submarine
Pepperland

PS. Get Back!
"tdavisjr" wrote:
Are you using Visual Web Deveopler, VS 2005 or VS.NET 2003?

Feb 16 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Edvard Majakari | last post: by
6 posts views Thread by Davinci_Jeremie | last post: by
15 posts views Thread by Carlos Lozano | last post: by
12 posts views Thread by Mats Lycken | last post: by
7 posts views Thread by Brett Romero | last post: by
17 posts views Thread by Lee Harr | last post: by
19 posts views Thread by =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post: by
3 posts views Thread by Peter Morris | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.