I've gone through this URL:
How to loop through Excel files and load them into a database using SSIS package
And I followed the same steps mentioned there but I got this warning:
[Excel Source [14]] Warning: The external columns for component
"Excel Source" (14) are out of synchronization with the data source
columns. The column "state" needs to be added to the external columns.
The external column "state " (27) needs to be removed from the external
columns.
and this error:
[SSIS.Pipeline] Error: "component "Excel Source" (14)" failed validation
and returned validation status "VS_NEEDSNEWMETADATA".