0
我正在尝试使用C#向脚本组件中的变量赋值,但无法这样做。任何人都可以发布代码或告诉我下面的错误。为ssis变量赋值
public override void PostExecute()
base.PostExecute();
IDTSVariables100 varCollection = null;
this.VariableDispenser.LockForWrite("User::Variable");
this.VariableDispenser.GetVariables(out varCollection);
varCollection["User::Variable"].Value = @"TESTING";
MessageBox.Show(Variables.MerchOrgName.ToString());
并且错误信息是? – billinkc