Question about add data row?

Hello, i have a question about add data row, right now when i am trying to use process it gives me exception about max lenght in add data row.
Is there any way i can fix it?

Thanks!

HI @CommunyanCat

Welcome to UiPath community

Can you share the error screenshot?

You are add more values in the Add Data Row activity then the Data table columns.
Check out this video

Regards
Gokul

Hi,

if you can change settings of max length in the datatable, the following expression will work.

dt.Columns("ColumnName").MaxLength=-1

note: -1 means unlimited

Please put the above before AddDataRow activity.

Regards,

Thank you, found data column with what exception came from, changed max lenght value to -1.