Delimiter text using regex

Hi @bcorrea

Can you share your email with me please, I have a specific question about your solution.

Thanks.

Hi, it is no problem, we can discuss it here :slight_smile:

Hi @bcorrea,

I already solved the problem with the example you shared with me.

I have a question, do you know how to make a sort with two columns?
I am using “Sort Data Table”, but it just lets me sort by a column

What you mean by sorting with two columns? If you sort with one column if there is already a sort applied on another one, then you will get it sort by the new column which you applied, As fas as I know, we can’t sort based on two different columns. Can you please check that manually once?

can use something like this:

dt = dt.AsEnumerable().OrderBy(Function(en) en.Field(Of String)(“Coluna1”)).ThenBy(Function(en) en.Field(Of Integer)(“Coluna2”)).CopyToDataTable()

1 Like

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