I have attached screenshot of my current activity, Here I am trying to build a data table and passing data columns into that.
By using New DataColumn(), I am only be able to create a single column is there a code to make it as an array of columns.
Tried New DataColumn(){} error is thrown as end of expression required.
I do not want to do it by using Add datacolumn activity’s, Column array option.
Also is there a way to add a row by using New DataRow method.
Here I am trying to add Datacolumn into the DataTable that I have built.
And I have created a Data column by using an Assign activity with New Datacolumn(“EmployeeID”)
And the variable type is System.Data.Datacolumn
I have a requirement of adding an array of colums into the Data table.
how do I create an array of data columns, like to have a variable type of System.Data.DataColumnCollection
And How to create a DataRow like i have created DataColumn by using New Datacolumn(“EmployeeID”)