By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,932 Members | 1,452 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,932 IT Pros & Developers. It's quick & easy.

Best control to display text from database on web page aspx

P: n/a
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

Nov 8 '06 #1
Share this Question
Share on Google+
2 Replies


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

--
I hope this helps,
Steve C. Orr
MCSD, MVP, CSM
http://SteveOrr.net
"heinz" <bi******@gmail.comwrote in message
news:11**********************@b28g2000cwb.googlegr oups.com...
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

Nov 8 '06 #2

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

Nov 9 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.