TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
paddylast
NA
12
0
url parameters
Apr 27 2005 11:59 AM
I'm trying the following:
<%@ Page Language="C#"%> <%@Import Namespace="System.Web.Mail" %>
but get error Server Error in '/' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS1519: Invalid token '=' in class, struct, or interface member declaration Source Error: Line 11: MailMessage msgMail = new MailMessage(); Line 12: // Set message properties Line 13: msgMail.From = Request.QueryString["from"]; Line 14: msgMail.To = Request.QueryString["to"]; Line 15: msgMail.Cc = Request.QueryString["cc"]; Source File: c:\inetpub\wwwroot\sendmailcsharp.aspx Line: 13 Can anyone help please? Thanks
Reply
Answers (
1
)
Is it possible to use "dinamic" ImageButtons in ASP.NET web application?
Html page to asp.net page with html control to web control