How to add value to empty datatable without add data riw

I created a new build datatable I have to add value to that new datatable without using add data row

@sruthesanju

Any specific reason to avoid add data row activity?
This activity is from UiPath only so what’s the problem using this?

You may need to use VB.Net / C# code using invoke code activity

Thanks

You can use below set of code:

System.Data.DataColumn  NewColumn = new System.Data.DataColumn("text", typeof(System.String));
NewColumn .DefaultValue = "Your existing list";
table.Columns.Add(NewColumn);

let us know your outcome.