Filter a data table if contains

Yes…

(DataTable.Select(“Key LIKE ‘%PendingBotCSV%’”).CopyToDataTable())

Check this out:
datatable.Select(“[column name] = ‘OK’”)

Hello All,
Kindly suggest me on similar issue. I am using as below.

image

My target is ==>
excel sheet must filter the data with below options:

  1. Only Resolved ==> Successful tickets
  2. Type NOT EQUAL != Service Bulletins
  3. Casetype NOT EQUAL To != Problem
  4. All requester login ids ==> must be UNIQUE
  5. Remove special character ==> () from all cloumts , If any.

Regards,
Santhoshi GV

Hi Rahul,

I want to filter a single column for 2 values and also have to apply 2 filters on two different columns as well? But somehow by using this activity I am unable to get the desired result.

Do you have a workaround for the same?

Hi,

That can be done using linq query without filter option.

I did it using or itself, thanks anyway.

How can you achieve the same results for the query below if you have a list of possible strings to allow?
dt.Select(“result LIKE ‘%ok%’”)
list = “ok, okay, ready”

I know it won’t work using LIKE