How do i delete empty rows after i read range?

Hi,

I have read range 3 excel files and save it to datatable. I want to write the datatable by excluding empty rows where i havr read range.
Thanks!

HI,

How about to use FilterDataTable activity?

Regards,

Hi @Yoichi can give me a detailed step as i am having error saying Column Name is not set

HI,

Can you share your input files and expected output as file? it’s no problem if dummy data.

Regards,

Hi @mark_rajkumar1 ,

An Alternate using Linq :

DT = DT.AsEnumerable.Where(Function(x)Not(x.ItemArray.All(Function(x)String.IsNullOrWhiteSpace(x.ToString)))).CopyToDatatable

Here, DT is your Datatable variable.

For Handling Errors related to Direct CopyToDatatable, Check the below post :

Hi @supermanPunch i was checking for studiox

1 Like