http://www.csharp-examples.net/dataview-rowfilter/

Ek Olarak: DataTable dt = new DataTable();
con.Open();
SqlDataReader dr = com.ExecuteReader();
dt.Load(dr);

DataView dv = new DataView();
dv.Table = dt;
dv.RowFilter = (" xcol is not null");


DataTable dt2 = dv.ToTable();