CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: Qutoes for HTML

Hybrid View

  1. #1
    Join Date
    Nov 2012
    Posts
    1

    Qutoes for HTML

    Hi all,

    I am using .NET 4.

    I have a stringbuilder building up some html, but I cant figure out how the quotes should be. I know its doable in VB.NET,

    sb.Append("Signature: <img src=""http://mail:81/_Bookshare/Signatures/SignatureMaria.JPG>"");

    Best Regards
    Anouar

  2. #2
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

    sb.Append("Signature: <img src=\"http://mail:81/_Bookshare/Signatures/SignatureMaria.JPG>\"");

  3. #3
    Join Date
    Sep 2000
    Location
    FL
    Posts
    1,452

    Re: Qutoes for HTML

    Use a "\" instead of double quotes.

    sb.Append("Signature: <img src=\"http://mail:81/_Bookshare/Signatures/SignatureMaria.JPG>\"");

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured