Copy/Paste HTMl code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • shapper

    Copy/Paste HTMl code

    Hello,

    I am creating an ASP.NET web site which inserts data in a SQL database
    using LINQ.

    One table column will hold HTML code. I am using a simple TextBox to
    input the data.

    I would like to create my text in my computer and then copy/paste the
    HTML code to my TextBox and insert in the database.

    What software should I use to create my text? Microsoft Office
    2007, ... ? Any suggestion would be great.

    Can I do it this way?

    Thanks,

    Miguel
  • Michael Nemtsev [MVP]

    #2
    Re: Copy/Paste HTMl code

    Hello shapper,

    Not quite understand what the "my text" is?
    Just encode your HTML text via HttpUtilite.Enc ode and store in DB

    ---
    WBR,
    Michael Nemtsev [.NET/C# MVP] :: blog: http://spaces.live.com/laflour

    "The greatest danger for most of us is not that our aim is too high and we
    miss it, but that it is too low and we reach it" (c) Michelangelo


    sHello,
    s>
    sI am creating an ASP.NET web site which inserts data in a SQL
    sdatabase using LINQ.
    s>
    sOne table column will hold HTML code. I am using a simple TextBox to
    sinput the data.
    s>
    sI would like to create my text in my computer and then copy/paste the
    sHTML code to my TextBox and insert in the database.
    s>
    sWhat software should I use to create my text? Microsoft Office 2007,
    s... ? Any suggestion would be great.
    s>
    sCan I do it this way?
    s>
    sThanks,
    s>
    sMiguel
    s>


    Comment

    Working...