简单教程
提交运行
代码编辑器:
@Code Dim db = Database.Open("SmallBakery") Dim dbdata = db.Query("SELECT Name, Price FROM Product") Dim myChart = new Chart(600,400) myChart.AddTitle("Product Sales") myChart.DataBindTable(dbdata,"Name") myChart.Write() End Code
运行结果: