check ur parameter names in code and in crystal report....it shud be the same.....
fromdate
todate
also check the dateformat in SQL database the date datatype saves in yyyy-MM-dd format.....
make use of date format only in SQL database and when creating a parameter use a string...it worked for me....