# Remove rows with no data from datatable

**URL:** <https://forum.uipath.com/t/remove-rows-with-no-data-from-datatable/761982>\
**Category:** Studio\
**Tags:** object-repository, question, studio, system, activities\
**Created:** [August 23, 2024, 6:02pm UTC](https://forum.uipath.com/t/remove-rows-with-no-data-from-datatable/761982 "2024-08-23T18:02:00Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![ppr](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/ppr/32/464097_2.png) [@ppr](https://forum.uipath.com/u/ppr)\
**Post date:** [August 23, 2024, 6:49pm UTC](https://forum.uipath.com/t/remove-rows-with-no-data-from-datatable/761982/5 "2024-08-23T18:49:36Z")

</div>

> [@\[HowTo\] LINQ (VB.Net) Learning Catalogue](https://forum.uipath.com/t/howto-linq-vb-net-learning-catalogue/325671):
>
> This topic references the different Learning HowTos related to LINQ. It will be updated on new published HowTos as well LINQ Learning: Topic LINK First Start with LINQ [[HowTo] - First Start with LINQ (VB.Net)](https://forum.uipath.com/t/howto-first-start-with-linq-vb-net/318964/) Exploring the LINQ universe [[HowTo] - Exploring the LINQ Universe (VB.Net)](https://forum.uipath.com/t/howto-exploring-the-linq-universe-vb-net/325667)Operator [HowTo] Overview Topic LINK Where [[HowTo] LINQ - First Start # Where Operator](https://forum.uipath.com/t/howto-linq-first-start-where-operator/464108) Select work in progress Any [[HowTo] LINQ – First Start # Any Operator](https://forum.uipath.com/t/howto-linq-first-start-any-operator/466138) All [[HowTo] LINQ – First Start…](https://forum.uipath.com/t/howto-linq-first-start-all-operator/467292)

removing rows where any col is a blank:

```auto
(From d in YourDataTableVar.AsEnumerable
Let chk = d.ItemArray.Skip(1).Any(Function (x) isNothing(x) OrElse String.IsNullorEmpty(x.toString.Trim))
Where not chk
Select r = d).CopyToDataTable

```

---

_[View the full topic](https://forum.uipath.com/t/remove-rows-with-no-data-from-datatable/761982)._
