Sql="select * from Forum_Info where (Forum_Info_Title like '%"+Key+"%' or Forum_Info_Users like '%"+Key+"%') and DateDiff('d',Forum_Info_InputDate,'"+DateTime.Now+"')<"+Day;