I have some following requirement. while import the excel(it consists chart) i need to get the chart series data from excel. how can i get? using c#
This is my excel file... i need to get the candle series data.. can you please help this
I have some following requirement. while import the excel(it consists chart) i need to get the chart series data from excel. how can i get? using c#
This is my excel file... i need to get the candle series data.. can you please help this
If you could export the .csv from the xls you can:
string[] lines = System.IO.File.ReadAllLines(@"yourFolder\yourCsv.csv");
// Display the file contents by using a foreach loop.
string[] arr;
foreach (string line in lines)
{
//you get an array with each cell value
arr=line.split(";")
//do what you want with arr[1] which i suppose is the col you are interested to
}
or if you want to use the .xls file format you could use LinqToExcel as suggested here Optimal way to Read an Excel file (.xls/.xlsx)