Dtfilter is an array and you are trying to do CopyToDaTatable which is not possible… thats is the error.
If you want to add that array as row instead use add data row and pass the required datatable and thia array
Cheers
Hi @Kuldeep_Pandey change the data type of Dtfilter to data table type.
I have given data row type
This is the reason…the second assign returns you an array not datatable…instead of that use filter datatable and give the conditions… then you will
Get filtereddatatable directly
Cheers
@Kuldeep_Pandey use for each row in datatable and give dtfilter inside datatable field and access it row by row
Change it to system.data.datatable type or you can use filter data table activity and retrive all the filtered data by for each row activity
Do u know How to create new sheet in excel file