I wanted to do Manipulating Datatable using LINQ.
CODE
Arguements for Invoke Code activity -
Input - dt_Customers DatatType - Datatable
Output - dt_Output
Dim queryResults = From cust In dt_customers
Where cust.Country = “Canada”
Select cust.CompanyName, cust.Country
dt_Output = queryResults.CopyToDataTable()
Errrors:
1.Error : BC30209 Option Strict On requires all variable declartions to have “As” clause
2.CopyToDataTable() - Converting to Enurable Row to Datatable
3. Column Name Country not availble in the datatable.
Please help me on this