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?
 
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
 
Back
Top