Hi,
Here i found couple of links that may help you,
Passing DataSet to the SSIS Package[
^]
So your code would be like,
Variables variables = package.Variables;
variables["MySSISVariable"].Value = myDataSet;
I have not tired yet but it looks promising.
Best Luck.