J
Jim Heavey
Having some problems with setting my RowViewFilter when I am looking for a
column with Null Values.
I have tried the following:
dvAddSkaters_Lstv.RowFilter=
string.Format("(DateJoined = '{0}')",System.DBNull.Value.ToString())
This is obviously wrong, as when I look at it in the editor there is
nothing which shows up for the null value. And then when there are
actually rows in the datatable, I get an exception about comparing string
with datetime.
How do I properly set this in C#?
column with Null Values.
I have tried the following:
dvAddSkaters_Lstv.RowFilter=
string.Format("(DateJoined = '{0}')",System.DBNull.Value.ToString())
This is obviously wrong, as when I look at it in the editor there is
nothing which shows up for the null value. And then when there are
actually rows in the datatable, I get an exception about comparing string
with datetime.
How do I properly set this in C#?