Best control to display text from database on web page aspx

H

heinz

What control is best to display ordinary text on an aspx web page?
For example, a short newspaper article as the main content.

In html is just in a table, but whats the best way of doing it in
asp.net 2?
Is it a GridView, a DetailView, a Label, a FormView control, a
DataList?

They can all kind of do it, but which is best?

Thanks

Heinz
 
S

Steve C. Orr [MVP, MCSD]

Well if it's just plain text (not formatted HTML) a label control should
work just fine.
 
H

heinz

Thanks for taking the time to tell me a label to put
text on a page. I'll use it.
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top