Chicharito Chicharito - 1 month ago 8
C# Question

How to make C# DataTable filter

my datatable;


dtData

ID | ID2
--------
1 | 2
1 | 3


dtData.Select("ID = 1"); one more rows;


i want row "ID = 1 And ID2 = 3" how to make ?

Answer

Do you mean like this?:

dtData.Select("ID=1 AND ID2=3");