You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
System.InvalidCastException
HResult=0x80004002
Message=Object cannot be cast from DBNull to other types.
Source=mscorlib
StackTrace:
at System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider)
at System.Convert.ToDouble(Object value)
at Carinderia_Kiosk_System.Customer.MenuBoard.TotalAmount() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 225
at Carinderia_Kiosk_System.Customer.MenuBoard.GetOrderList() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 315
at Carinderia_Kiosk_System.Customer.MenuBoard.MenuBoard_Load(Object sender, EventArgs e) in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 41
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The text was updated successfully, but these errors were encountered:
System.InvalidCastException
HResult=0x80004002
Message=Object cannot be cast from DBNull to other types.
Source=mscorlib
StackTrace:
at System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider)
at System.Convert.ToDouble(Object value)
at Carinderia_Kiosk_System.Customer.MenuBoard.TotalAmount() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 225
at Carinderia_Kiosk_System.Customer.MenuBoard.GetOrderList() in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 315
at Carinderia_Kiosk_System.Customer.MenuBoard.MenuBoard_Load(Object sender, EventArgs e) in C:\Users\Jamaica\source\repos\Carinderia-Kiosk-System\Carinderia-Kiosk-System\Customer\MenuBoard.cs:line 41
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
The text was updated successfully, but these errors were encountered: