Having some hard time understanding the conversion between excel file to .net object type such as DataSet or DataTable.
One issue I see in this 3rd party library (and the issue still lingers in the latest I believe) called ExcelDataReader is its conversion of datetime format.
For example the excel file where user set custom format of dd/mm/yyyy gets converted in the result of dataSet as mm/dd/yyyy after importing the excel file to the object done.
I was thinking maybe to fix this, the library code needs to passively receive the excel cell format settings, not trying to convert with its own settings.
Wonder how in the code it can be done such that
if (excelfile.row[somenumber].cell.TypeSetting == typesetting.dateTime)
{
dataset.cell[somenumber].dateTimeFormatSetting = excelfile.row[somenumber].cell.dateTimeFormatSetting
}
probably this code isn't close to be realistic, just a wild guess of what needs to be done.