Link to home
Start Free TrialLog in
Avatar of MikeCombe
MikeCombeFlag for United States of America

asked on

How to display a list of items on an asp.net webpage from a codebehind webpage.

I want to display a list on an asp.net webpage, like this....
dog
cat
bird
rabbit
snake

I want to generate this list from a codebehind asp.net webpage.
How do I do that?
Is there an asp.net control container to use?
Can I do this into a css/div container?
SOLUTION
Avatar of Element1910
Element1910
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Umar Topia
Umar Topia
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MikeCombe

ASKER

Thanks to all....good solutions.

I used the "old classic asp" method of building a <table> on the webpage.aspx which enabled me to build <tr><td> as necessary to display my database data. By not using codebehind I am able to display & format my database data directly, without having to refer to a server control. In this particular application it works effeciently.