(DateTime field).value==DateTime.Now stops response?
Posted: Tue 24 Mar 2009 01:11
e.g.
var employee=from _employee in _db.Employes
where _employee.birthay.value==null
select _employee;
The above statement when the program stops responding when VS.NET.
----------------------------------
The following fragment can run:
var employee=from _employee in _db.Employes
where _employee.birthay.value.ToString()==null
select _employee;
var employee=from _employee in _db.Employes
where _employee.birthay.value==null
select _employee;
The above statement when the program stops responding when VS.NET.
----------------------------------
The following fragment can run:
var employee=from _employee in _db.Employes
where _employee.birthay.value.ToString()==null
select _employee;