I have a DataView and I'm trying to make a filter, where the 'photo' field is different from NULL
I tried:
dv.RowFilter = "foto <> ''";
But it did not filter. I searched here on StackOver and recommended:
dv.RowFilter = "Isnull(foto,'') <> ''";
I also tried:
dv.RowFilter = "Isnull(foto, 'Null Column') != 'Null Column'";
With:
"foto <> null"
it does not return any results.
Same thing, does not filter, in database it returns as NULL
When I make a simple filter of type
dv.RowFilter = "foto ='123412341234.jpg'";
works perfectly.