• Sorry Marco...I was being sarcastic. Generating a chart in HTML is way outside of the scope of this article / discussion.

    As a general guideline, I would advise that you make sure that you understand code before you use it - or else you're going to find yourself out of your depth.

    Have you thought about reporting services perhaps, as a sensible way to get charts from SQL Server?