Issue while saving the get text values to datatable

Hi,

I have saved the get text values into datatable by using
Read range,build data table ,add data row and then write range.

All the values are saving but it’s taking first row as empty value .how to remove the first row as empty so that the data should add to it.

Hi @Bhagyashree_S

Please check in the build data table activity if you have left any first row as empty.

Regards

HI @Bhagyashree_S

Regards

@Bhagyashree_S

image

In your build datatable you have to remove these rows

1 Like

Hi @Bhagyashree_S

YourDataTable = YourDataTable.AsEnumerable().Where(Function(row) Not row.ItemArray.All(Function(field) field Is DBNull.Value Or field.Equals(""))).CopyToDataTable()

Hi ,

I have removed the extra row and now I am able to see the 3 values one by one .

And I am comparing these values with another values.
But here in my case while comparing it’s comparing the only last row value with all the values.its not comparing with each row

Hi @Bhagyashree_S

If you have another query please post a new topic.

Regards

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.