473,480 Members | 1,789 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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
Feb 24 '08 #1
1 1102
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
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>
Feb 24 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
9528
by: cv | last post by:
Hi all, I have to copy two set of data from 2 files(notepad/excel) say, products and their corresponding prices to list/textarea/table. I should be able to retrieve the product and corresponding...
1
2554
by: Wladimir Borsov | last post by:
I want to mark certain text on a web page in InternetExplorer and then copy and paste it into a normal text editor. With the copied text not only the pure text should be transferred but also the...
13
2380
by: John | last post by:
Hi How can I implement cut or copy or paste in code? Thanks Regards
7
11594
by: lgbjr | last post by:
Hello All, I¡¯m using a context menu associated with some pictureboxes to provide copy/paste functionality. Copying the image to the clipboard was easy. But pasting an image from the clipboard...
18
9588
by: Archanak | last post by:
Hi, I have a text box and should allow user to type the text but not to allow them to copy/paste or right click. Here is the code. <html> <head> <meta http-equiv="Content-Type"...
0
7045
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
6944
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5341
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4782
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4483
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2995
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2985
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1300
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
563
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.