c# - How to get the series data from Excel -


i have following requirement. while import excel(it consists chart) need chart series data excel. how can get? using c#

this excel file... need candle series data.. can please this

this excel file

if export .csv xls can:

        string[] lines = system.io.file.readalllines(@"yourfolder\yourcsv.csv");          // display file contents using foreach loop.         string[] arr;         foreach (string line in lines)         {              //you array each cell value              arr=line.split(";")              //do want arr[1] suppose col interested         } 

or if want use .xls file format use linqtoexcel suggested here optimal way read excel file (.xls/.xlsx)


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

configurationsection - activeMq-5.13.3 setup configurations for wildfly 10.0.0 -