I have the following (easy) table:
Table: MyDataTable
**Color**
Blue
null
Red
Yellow
null
null
Green
This query (for example):
query =
from user in MyDataTable.AsEnumerable()
where (user.Field<string>("Color") != null ? user.Field<string>("Color").Contains("") : false)
select user;
shows all fields that aren't null.
Edit: Sorry my question is in the title. I would like to make a query to display only null fields. How? Regards!