Question : VB.NET How do I show data from databse - Chart

Hello!

I would like to show my data in a chart...

This is how my MSSQL-databse look like..

ID   /    Date            /           Time       /      Message
21 /  2010-06-22    /    13:35:15       /     Hello
23 /  2010-06-22    /    13:55:55       /     Godmorning
24 /  2010-06-22    /    11:31:05       /     Hello
28 /  2010-07-01    /    12:55:55       /     Nice weather
33 /  2010-06-22    /    11:31:45       /     Hello
37 /  2010-06-22    /    12:31:05       /     Hello
39 /  2010-06-22    /    16:36:06       /     Hello



Then I want to show in a chart  that what is most common...

Like this..

http://devcity.net/Data/ArticleImages/frmBarChart.jpg

I mean the Hello  will be higest.. and then the other lower..

I hope someone understand..

So I have my database done..  And I  have the connection to my database..
I can get columns and stuff like that just need to now how I do this the best way!

Thank you

//Kavvis



Answer : VB.NET How do I show data from databse - Chart

Microsoft actually licensed some code from Dundas and produced avery good set of free charting controls based on that code.

To download the controls:
http://www.microsoft.com/downloads/details.aspx?FamilyId=130F7986-BF49-4FE5-9CA8-910AE6EA442C&displaylang=en

Samples:
http://code.msdn.microsoft.com/mschart
Random Solutions  
 
programming4us programming4us