Copy/Paste HTMl code

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

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
 
Hello shapper,

Not quite understand what the "my text" is?
Just encode your HTML text via HttpUtilite.Encode 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


s> Hello,
s>
s> I am creating an ASP.NET web site which inserts data in a SQL
s> database using LINQ.
s>
s> One table column will hold HTML code. I am using a simple TextBox to
s> input the data.
s>
s> I would like to create my text in my computer and then copy/paste the
s> HTML code to my TextBox and insert in the database.
s>
s> What software should I use to create my text? Microsoft Office 2007,
s> ... ? Any suggestion would be great.
s>
s> Can I do it this way?
s>
s> Thanks,
s>
s> Miguel
s>
 
You may want to look at HTML controls like FreeTextBox or FCKEditor. These
are designed to handle editing of HTML and they behave just like a TextBox
form field when the data is posted.
-- Peter
Site: http://www.eggheadcafe.com
UnBlog: htp://petesbloggerama.blogspot.com
Short Urls & more: http://ittyurl.net
 
Back
Top