Click here to Skip to main content
15,900,482 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionSiteMap Issues Pin
oneworld200217-Jul-06 4:25
oneworld200217-Jul-06 4:25 
QuestionHave multiple ASP.NET web projects share pages and controls Pin
MrCeri17-Jul-06 3:55
MrCeri17-Jul-06 3:55 
AnswerRe: Have multiple ASP.NET web projects share pages and controls Pin
Not Active17-Jul-06 6:05
mentorNot Active17-Jul-06 6:05 
GeneralRe: Have multiple ASP.NET web projects share pages and controls Pin
MrCeri17-Jul-06 6:40
MrCeri17-Jul-06 6:40 
GeneralRe: Have multiple ASP.NET web projects share pages and controls Pin
Not Active17-Jul-06 6:54
mentorNot Active17-Jul-06 6:54 
GeneralRe: Have multiple ASP.NET web projects share pages and controls Pin
MrCeri17-Jul-06 7:05
MrCeri17-Jul-06 7:05 
GeneralRe: Have multiple ASP.NET web projects share pages and controls Pin
Not Active17-Jul-06 7:19
mentorNot Active17-Jul-06 7:19 
Questionillegal character in path error [modified] Pin
tiziacaia17-Jul-06 3:38
tiziacaia17-Jul-06 3:38 
<code>string body = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">";
body += "<HTML><HEAD><META http-equiv=Content-Type content=\"text/html; charset=iso-8859-1\">";
body += "</HEAD><BODY><DIV><FONT face=Arial color=#ff0000 size=2>this is some HTML text";
body += "</FONT></DIV></BODY></HTML>";

AlternateView alternate = new AlternateView(body, MediaTypeNames.Text.Html);
message.AlternateViews.Add(alternate);</code>

I'm trying to send an email with html format but I get "illegal character in path error" when I create the alternative object.

I get this code from the .NET Framework Class Library, can somebody help me please? I tried to create an html string myself but the errore is the same.

thanks a lot

-- modified at 9:38 Monday 17th July, 2006
QuestionDatabase Dilemma [modified] Pin
Skyruner217-Jul-06 3:15
Skyruner217-Jul-06 3:15 
AnswerRe: Database Dilemma [modified] Pin
eggsovereasy17-Jul-06 3:49
eggsovereasy17-Jul-06 3:49 
GeneralRe: Database Dilemma [modified] Pin
Skyruner217-Jul-06 3:55
Skyruner217-Jul-06 3:55 
GeneralRe: Database Dilemma Pin
Daniel Santillanes17-Jul-06 6:00
professionalDaniel Santillanes17-Jul-06 6:00 
GeneralRe: Database Dilemma Pin
Skyruner217-Jul-06 7:44
Skyruner217-Jul-06 7:44 
GeneralRe: Database Dilemma [modified] Pin
Daniel Santillanes18-Jul-06 5:19
professionalDaniel Santillanes18-Jul-06 5:19 
QuestionError while calling Web Service Pin
Sathiyaraj Ganesan17-Jul-06 2:34
Sathiyaraj Ganesan17-Jul-06 2:34 
QuestionDynamic CheckBoxList in DataGrid EditItemTemplate read values PROBLEM Pin
voidtech17-Jul-06 2:20
voidtech17-Jul-06 2:20 
AnswerRe: Dynamic CheckBoxList in DataGrid EditItemTemplate read values PROBLEM Pin
postmaster@programmingknowledge.com17-Jul-06 2:33
postmaster@programmingknowledge.com17-Jul-06 2:33 
AnswerRe: Dynamic CheckBoxList in DataGrid EditItemTemplate read values PROBLEM Pin
voidtech17-Jul-06 2:38
voidtech17-Jul-06 2:38 
AnswerRe: Dynamic CheckBoxList in DataGrid EditItemTemplate read values PROBLEM Pin
voidtech17-Jul-06 2:40
voidtech17-Jul-06 2:40 
QuestionASP.NET [modified] Pin
gankum17-Jul-06 2:00
gankum17-Jul-06 2:00 
AnswerRe: ASP.NET Pin
eggsovereasy17-Jul-06 3:47
eggsovereasy17-Jul-06 3:47 
QuestionMouseover event in Datalist Control Pin
Amit Agarrwal17-Jul-06 0:25
Amit Agarrwal17-Jul-06 0:25 
QuestionDifference between IIS 5.0 and IIS 6.0 architecture Pin
Vivek.Sivasamy16-Jul-06 23:49
Vivek.Sivasamy16-Jul-06 23:49 
AnswerRe: Difference between IIS 5.0 and IIS 6.0 architecture Pin
eggsovereasy17-Jul-06 3:52
eggsovereasy17-Jul-06 3:52 
GeneralRe: Difference between IIS 5.0 and IIS 6.0 architecture Pin
Vivek.Sivasamy17-Jul-06 20:20
Vivek.Sivasamy17-Jul-06 20:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.