Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Suggested REGEX

$
0
0

foreach (DataRow dr in dt.Rows) { string strExclude ("ISO","SS","LABOUR","MARGIN1");

// if in string dr["code"].tostring{} then bypass ----<< How to do this }


 

I am using a datatable and  I want to ignore certain rows that contain certain characters in a column.

I do not know how I would do this - can anyone help/advise me.

Thanks in advance.


Viewing all articles
Browse latest Browse all 31927

Trending Articles