Message box does not show my datatable in string .ToString does not work either

No text displayed on the message box it is just empty if i run the automation.

You need to use this activity to convert it to string


Hi @BjrnUitenbroek

“Output data table” will return your datatable as string.


1 Like

Thanks @c.ciprian and @Nikola_Drazic for responding, but i already fixed it i was just being dumb, anyhow, i somehow deleted the variable to be outputed in the message box so it is not weird it wasnt showing any text. oops!

Hi @BjrnUitenbroek

Welcome to uipath community

Usually to avoid this mistake try to use writeline or log message activity so that without passing values into these activities we won’t be able to run the process which will let us know that we haven’t passed value to them even if we forget by chance

Well coming to the point we need to convert the datatable to a string which can be done with output datatable activity where we Will be passing the input as datatable and output we get as a string
Pass that to the write line or log message or message box activity

Cheers @BjrnUitenbroek

1 Like