Hi all i have written a code to read the excel data from an excel, but i don’t know which was the best way to store the data my data in excel is as follows
2000-01 2001-02 2002-03 2003-04 2004-05
Some text 65% 52% 51.3% * 6.1%
Some text 65% 52% 51.3% * 6.1%
Some text 65% 52% 51.3% * 6.1%
Some text 65% 52% 51.3% * 6.1%
Some text 65% 52% 51.3% * 6.1%
The data seems to be as this in my excel file i know how to retrieve the data but i was looking for the best method to store the data can any one help me
AT present i am storing data in to List<string> as follows
Microsoft.Office.Interop.Excel.Range range = worksheet.get_Range("A11", "G21");
System.Array myvalues = (System.Array)range.Cells.Value2;
List<string> newList = AnyListToStrList(myvalues);
But i am not sure that it was the right method so i am looking for the better one..
I would create 2 tables: