display variables from script task


  • Hi,

    I try to display the variables i got the the get customer email task from the script, but got nothing to display.  I try to display only the message  MessageBox.Show("hello"); but still got nothing.

    can you please tell me why? Thanks

    • Upravený Vicki2017 čtvrtek 14. června 2018 16:39
    čtvrtek 14. června 2018 16:34

Všechny reakce

  • what is the enumerator used for for each loop?

    Also what are the data types of the variables created for the for each loop

    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

    čtvrtek 14. června 2018 17:02
  • Foreach ADO Enumerator, the datatypes are string.
    čtvrtek 14. června 2018 17:11
  • Hi Vicki2017,

    The script task code may be lost when it is inside the a container when targeting SQL Server 2016.

    Try installing the SSDT for Visual Studio 2017 (15.7.0)(download here )which fixed this issue.

    Check if this issue persist.


    Pirlo Zhang 

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    pondělí 18. června 2018 8:22