Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello,

i have a table like news. in which it has 3 fields. date,title and description of news.
so i want to display all title and description on page on label.

i am confuse in if there is 3 records with title and desc. so how can i dynamic display all 3 records in 3 labels.

it may be 1 record. so only one label is used ? how....
Please Help Me.
Thanks.
Mitesh
Posted
Comments
[no name] 14-May-12 8:58am    
Please use the Improve question link and clarify your question.
Sandeep Mewara 14-May-12 8:59am    
Further, you say page but question is not tagged as ASP.NET

1 solution

To view all records from your database, use GridView[^] control, not list of labels.
 
Share this answer
 
v2
Comments
VJ Reddy 15-May-12 4:48am    
Good suggestion. 5!
Maciej Los 15-May-12 4:51am    
Thank you, VJ ;)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900