Create a Chart and Export Data from the DataGridView into Excel
This code sample will randomly generate the data set, then put into the DataGridView. The data from the Grid table is generated in the Chart. There are three types: Column, Line, and Point. I used the @Run Time method to create Legends and Series. In addition, I gave the code to send data to Excel (Line-By-Line) as well. Visual Basic .NET (2010) + MS Excel 2010 Thank You. I hope this sample