Assign variable to a column number of a data table

Hi,

While assigning a string variable named “Date” to date_range.columns(1).ToString (where date_range is a datatable with a single row), I want to replace the column number i.e. 1 in this case with an integer variable. How to do that?

@soumyadip47

Welcome to our uipath community.

Try this.

     date_range.columns(index).Tostring

Where index variable is of type Int32

Thanks a lot

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.