i have 9 strings check it contains i wann know if string which become false
Hi,
Can you share column’s names of your datatable?
Regards,
Hi,
Thank you for sharing.
DataColumnCollection.Contains method matches exact same column name.
So you need to write condition as the following.
datatable.Columns.Contains("Name_")
If you want to match partial string, need another expression.
Regards,
yes i want to know what are string becaomeing false after the if condition
Hi,
I got your requirement.
Perhaps you should set keywords as array in order to handle it easy, then check them as the following.
Regards,
1 Like
what if i have dublicate coloumn names
Hi,
I’ll reply it in another topic you post
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.