locked
Calendar error: When casting from a number, the value must be a number less than infinity. RRS feed

  • Question

  • User-109503533 posted

     When I try to open the Events_Calenar.aspx, I am getting this error on NavigateUrl='<%# "Events_view.aspx?Eventid=" & Cstr(Eval("ID")) %>'.

     The  id = 34. What can be done to fix the When casting from a number, the value must be a number less than infinity error?

     

    Thanks,

    Bill

    Monday, February 9, 2009 9:16 AM

Answers

  • User-109503533 posted

     Found this issue! In the SELECT statement, there are no checks for nulls.  By doing a COALESCE([description],'') description FROM events solved the issue.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, February 9, 2009 9:40 PM