Here is an example of calling the variable value in the message box to display
MessageBox.Show(Dts.Variables["User::MaxHistoryRecordDate"].Value.ToString());
OR
DateTime Date = (DateTime)Dts.Variables["User::MaxHistoryRecordDate"].Value;
MessageBox.Show(Dts.Variables["User::MaxHistoryRecordDate"].Value.ToString());
OR
DateTime Date = (DateTime)Dts.Variables["User::MaxHistoryRecordDate"].Value;
MessageBox.Show(Date.ToString());
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.