How to pass WHERE condition in Datatable.defaultview.totable()

Hello,

Anyone can help about passing WHERE condition inside Datatable.defaultview.totable().

For example:


dt_Excel.defaultview.totable(false, “TransactionNumber”,“Status”).Select.CopyToDataTable

In the above query, how I can pass WHERE condition?

Please suggest…

Regards,
Nidhees

Hi @nidheessingh

Kindly have a view on this which could give you some insights on this
https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable.defaultview?view=netframework-4.8

Cheers @nidheessingh

Hi @nidheessingh

Kindly have a view on this which could give you some insights on this

https://docs.microsoft.com/en-us/dotnet/api/system.data.datatable.defaultview?view=netframework-4.8

Cheers @nidheessingh

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