1) Declare a variable as MyVar in varible window.

2) Declare variable type in dataflow> Script Component >Script

3) Use variable in the script
Now here is the catch we use variable in data flow task by
Me.Variable.MyVar ="MyVariable"
where as in control flow we use variable using
DTS.Variable("MyVar").value = "MyVariable"
No comments:
Post a Comment