How to set default value in add data column

Hi,

I want to add a column called ID to the datatable and set the default value as 18

Please help me with the solution

Hello Deeksha
Please use Add Data Column Activity and Set properties as mentioned in below screenshot.

hello @Deeksha ,

you can achieve your goal using invoke code activity

dt_io.Columns.Add("ID", GetType(Integer), "18")

attaching screenshot for your reference

Hope it will help you,

Regards,
Dheerendra Vishwakarma

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