I have a data table where I have multiple columns.
I have to select some column from the data table and insert into a new data table.
I am using Invoke Code Activity and added code but it is giving me object reference is not set to be an instance of an object.
Dim abc As New DataTable()
abc.Columns.Add(“UserID”)
in_DataRow = (From p In in_ExcelData.AsEnumerable() Select abc.LoadDataRow(New Object() {p.Field(Of String)(“UserID”)}, False)).ToList
Thanks for the feedback but i can not use Filter Data table Activity.
I want to do this with invoke code activity where i can write vb.net code.
Also, i have two data table and i used join with on both of the table and then i have to select some field from both table.