Do some Check in Query to Solve the Problem :
"select * from news where dno!='800' and entrydate>='todayc' order by entrydate"
What is the data type of "entrydate"
if "entrydate" is Date type then it gives error
because 'todayc' is constant variable not matching with the date type.
For any more problem give the details and visit to :http://www.roseindia.net/jsp/bank.shtml