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

I have a database that has a number of foods, when a person eats the food a dat gets posted into a seperate table along with the food_id and user_id. I need to show the list of foods eaten on each individual day so basically a food diary. I am looking for the best way to show the data, I really am not sure what to use. I have looked at datagrids but they just appear ugly any suggestions would be appreciated.

Dan
Posted

Did you look at the ListView?
 
Share this answer
 
Comments
DanHodgson88 8-Aug-11 9:08am    
Thanks John, I have had a brief look but not fully I must admit. I will have a look at it.
As John advised If you want to just display data in a grid format, then a ListView works quite well for this task. look at this[^] example
 
Share this answer
 
Comments
DanHodgson88 8-Aug-11 9:09am    
cheers for that, that doesn't look bad at all
Actually UI design and reports are customized activities. these are endless acts.

If you feel gridviews are ugly then go with CSS
Style1[^], Style2[^]

or go with Ajax tabbed control[^], tabs are used as days.
 
Share this answer
 
Comments
DanHodgson88 8-Aug-11 9:08am    
I should have explained it was a windows application however, the 2 style examples are very nice!

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