Reputation: 30045
How to loop through / access values of RecordSet Destination in SSIS Script Task.
Upvotes: 2
Views: 3002
Reputation: 30045
Ok got this done as
OleDbDataAdapter oleDA = new OleDbDataAdapter();
DataTable dt = new DataTable();
oleDA.Fill(dt, Dts.Variables["containerHeader"].Value);
once datatable is filled can do looping on it.
Upvotes: 3