copy and paste from webpage dosn't work in IDE

  • Thread starter Thread starter Ray Alirezaei
  • Start date Start date
R

Ray Alirezaei

Hi all
When I copy and paste a piece of code from a web page into IDE ,,it is well
formatted and instead of "<" or ">" characters "&alt" shows up.why is that ?

Thanks for your help in advance.
ALI
 
Hi Ray,

Before you paste into your IDE paste the code into Notepad first. Then
copy it from Notepad to the IDE and all will work fine.

The reason this happens is some programs interpret the chars
differently; I think.

Happy Coding,

Stefan
C# GURU
www.DotNETovation.com
 
thanks for your reply,it is exactly what I do,,but I just wondering if there
is another way to get around it?
 
Excellent!!!

I must paste it as HTML,,,thanks for your help guys.
 
Ray,

If you are using VS.NET 2002/2003 under the edit menu there is the
option to 'Paste as HTML'. It will only show up when you are in HTML
view of an aspx/htm/html/etc. file.

Happy Coding,

Stefan
C# GURU
www.DotNETovation.com

"You always have to look beyond the horizon and can never be complacent
-- God forbid we become complacent.

Jozef Straus
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top