want to see the value of variable in single massage

  • Hi ,

    I want to see the value of variable in single massage.

    I am using C#2012 code

    I am able to get using below code in 2 diffrent masg window.

    MessageBox.Show(Dts.Variables["migration_start"].Value.ToString());

    MessageBox.Show(Dts.Variables["LastRunDate"].Value.ToString());

    Regards,

    Vipin Jha

  • vipin_jha123 (6/11/2015)


    Hi ,

    I want to see the value of variable in single massage.

    I am using C#2012 code

    I am able to get using below code in 2 diffrent masg window.

    MessageBox.Show(Dts.Variables["migration_start"].Value.ToString());

    MessageBox.Show(Dts.Variables["LastRunDate"].Value.ToString());

    Regards,

    Vipin Jha

    Something like:

    string msg = String.Concat(Dts.Variables["migration_start"].Value.ToString(),": ", Dts.Variables["LastRunDate"].Value.ToString());

    MessageBox.Show(msg);

    The absence of evidence is not evidence of absence.
    Martin Rees

    You can lead a horse to water, but a pencil must be lead.
    Stan Laurel

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply