PC Review


Reply
Thread Tools Rate Thread

Copy/Paste HTMl code

 
 
shapper
Guest
Posts: n/a
 
      24th Feb 2008
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
 
Reply With Quote
 
 
 
 
Michael Nemtsev [MVP]
Guest
Posts: n/a
 
      24th Feb 2008
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>


 
Reply With Quote
 
Peter Bromberg [C# MVP]
Guest
Posts: n/a
 
      24th Feb 2008
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


"shapper" wrote:

> 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
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy and paste includes HTML code rrtom Microsoft Outlook Discussion 3 15th Dec 2008 03:31 AM
Copy & paste HTML code XTV Microsoft VB .NET 0 8th Mar 2006 07:03 AM
Is there tool for mark, copy and paste HTML code directly from browser? Wladimir Borsov Windows XP Internet Explorer 4 16th Feb 2005 07:53 AM
How do I view, copy & paste a HTML code into an email message? =?Utf-8?B?SnVsaWE=?= Microsoft Word Document Management 1 8th Feb 2005 11:18 PM
Copy -Paste in HTML Rennes Microsoft Outlook 0 29th Jun 2004 09:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:39 AM.