Hello Everyone,
I am using Script component to write Excel data to Database.
Which is working Properly but for this i have to hardcode file name in EXCEL Connection String.
Dim cnAsNew OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Desktop\Test2.xls ;Extended Properties= Excel 8.0")
now i have multiple files in the folder i want to use for each loop component which will take my file one by one and then process that file in
Script component .
Can you tell me how to store file name in variable in for each loop and then pass that variable in Script component so that i have not to hardcode file name.
Please provide link or soultion for it.