Hi, this is my first question here...
I've created a dynamic excel connection manager to pull in data (to Visual Studio community 2017) from multiple spreadsheets before sending them to a SQL Server table. My 'For Each File' loops works fine and my connection manager works fine before I make it dynamic. However, when I make the connection dynamic that's when the package fails. I've tried various things which all result in either error messages with the metadata and/or datatypes.
I'm confident I know what the problem is - the spreadsheet datatypes are coming across differently from one spreadsheet to another. It may not help that (ideally) I'm not picking up the data from row 1 but from row 19 onwards.
I'm wondering if I can force the datatypes in some way at the point of the connection (and then deal with the type conversion once the data is in SQL)? Or do I need a wholly different approach?
Any thoughts would be much appreciated.