How to select the column that dont have blank value

@Demo_User ,

If Linq Query is preferred, then as @raja.arslankhan provided the Solution, but a change would be to convert the rows to an Array or List, so that you would not get the Error. Modified Expression would be the below :

drArray = DT.AsEnumerable.Where(Function(x)Not(String.IsNullOrWhiteSpace(x("action").ToString)).ToArray

Here, drArray is a variable of the type Array of DataRow.

Next, using this variable, we can check if there are any rows present using an If Activity, if Present then we Convert it to Datatable,

OutputDT = drArray.CopyToDatatable

if not present then we assign the Clone.

OutputDT = DT.Clone

For more info on Handling errors on Direct CopyToDatatable, check the below post :