In the screen that follows, from the Property column drop the list down and choose Connection String Now hit the ellises button to the right and we are taken through to the expression editor where we will build the actual expression itself.

The final thing we see on this screen is the ability to traverse subfolders. When the Foreach enumerator finds a file it needs to tell us about what it found and it does this by populating a variable. Our package currently has no variables able to accept the name of the file so we are going to create a new one.

The next screen we see allows us to set the values of the variable.

The important part of this dialog is highlighted and that is "Expressions".

Click on the ellipses and we will be taken through to the next screen where we can start to create the expression.

Because the enumerator will only return us at most one value on every iteration we map our variable to an index of 0.

We have now configured everything as far as the Foreach enumerator is concerned.We need to specify a folder over which to loop and for which type of files to look and we do that in the centre of the form.We are given three options as to what is returned when the loop finds a file in the folder at the bottom of the form.The following two sections illustrate both techniques. The Parent Variable Configuration feature of SSIS allows variables from a parent package to be inherited by a child package. Changing value of child package variable was easily possible in DTS using "Execute DTS Package Task" settings called inner/outer variables.