i have a table called stock_table (stock_id,name,date,price) in sqlserver database ! In the asp.net web page , i used a chart control to draw a line chart for the stock table based on date (x) and price (y) column!
i wanna the chart based on the database or the data i get from the database covert to excel in particular file path by click the control or one button i created!
i try to use chart.export method, however, it does not work!
How can i achieve it ? Can anybody provide some examples!