rwenzori
Honorary Master
http://www.algoafm.co.za/
How can there be no CurrentDJSchedule? I mean, it just HAS to be there, so piss on coding for the unexpected. And who needs to code for exceptions anyway?
Code:
Server Error in '/' Application.
There is no row at position 0.
Description: An unhandled exception occurred during the execution of the current web request.
Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.IndexOutOfRangeException: There is no row at position 0.
Source Error:
Line 387:
Line 388: 'Check for 24:00 and replace with 00:00 - ShowFrom Field
[COLOR="#FF0000"]Line 389: If rsCurrentDJSchedule.Rows(0).Item("ShowFrom").ToString = "24:00" Then[/COLOR]
Line 390: dTimeFrom = "00:00"
Line 391: dDayFrom = dToday + 1
Source File: C:\inetpub\wwwroot\AlgoaFM\default.aspx Line: 389
How can there be no CurrentDJSchedule? I mean, it just HAS to be there, so piss on coding for the unexpected. And who needs to code for exceptions anyway?