Help with Linq

Hi, i’m learning how to use Linq. Can anyone help me with this error?

dtIG004 is a datatable

Hi @guilherme.dias

What is the requirement? (Input and Output)

Please go through this post by @ppr for learning the LINQ

@guilherme.dias Try this

(From row In dtIG004
Group row By a = row("your column name").ToString.Trim Into grp = Group
Select grp.First).CopyToDataTable

Thanks for the help @ushu after a long time looking for something biggier i’ve found this little mistake :smile:

Thanks for the help @kumar.varun2 this article helped me to complete my query

image