Is it any point to use html directly instead of label

  • Thread starter Thread starter Tony Johansson
  • Start date Start date
T

Tony Johansson

Hello!

Nobody seems to know this in the asp forum so I hope somebody might know
this here.

Instead of using a label control I can write the text directly in the web
page.

So is it any point to write text directly insted of using a label ?

//Tony
 
Nobody seems to know this in the asp forum so I hope somebody might know
this here.

Instead of using a label control I can write the text directly in the web
page.

So is it any point to write text directly insted of using a label ?

If it is fixed fixed then just have it as literal HTML.

If you may need to change it then have a label and set that
in code.

Never ever use Response.Write in ASP.NET!

Arne
 
Back
Top