hi I have table in database that one column is Expiredate that save date like below
2015-11-23
now I want compare it whit today date like below:
if (_dr["ExpireDate"]<DateTime.Now)
{
}
but it makes error can you tell me true code for it?
best regards
neda