hi,
i work on windows application and i have this code:
SqlCeDataReader rrs;
SqlCeCommand comd = new SqlCeCommand("select CodePersonne from Table1 where DateR ='" + DateTime.Now.Date + "';", conne);
rrs = comd.ExecuteReader();
while running, i get this error:
The data type is not valid for the boolean operation. [ Data type (if known) = datetime,Data type (if known) = nvarchar ]
i can't find where is the mistake and i wish you can help me.