更新时间:2023-02-16 13:39:49
所以一般来说,您使用 SSIS 包中的对象变量作为 For Each 容器的枚举器.
So generally speaking you use Object variables within an SSIS package as the Enumerator of a For Each container.
如果您要使用脚本任务,那么您只需要
If you are going to use a Script Task, then you all need to do is
DataTable dt = new DataTable();
OleDbDataAdapter oleDa = new OleDbDataAdapter();
oleDa.Fill(dt, Dts.Variables["User::objShipment"].Value);
然后像使用任何旧的 DataTable 一样使用 dt.
And then use dt like any old DataTable.