Pur usando la virgola come separatore dei decimali, questo è l'errore: System.InvalidCastException: Cast non valido dalla stringa "3.425.03" al tipo 'Decimal'.
in Microsoft.VisualBasic.CompilerServices.Conversions.ToDecimal(String Value, NumberFormatInfo NumberFormat)
in AziendaSoft_N.NuovoDocumento.generaScadenze()
in AziendaSoft_N.NuovoDocumento.CalcolaTotaliRiga(VRigheDocumento2Row R)
in AziendaSoft_N.NuovoDocumento.dgRigheDocumento_CellEndEdit(Object sender, DataGridViewCellEventArgs e)
in System.Windows.Forms.DataGridView.OnCellEndEdit(DataGridViewCellEventArgs e)
in System.Windows.Forms.UDataGridView.OnCellEndEdit(DataGridViewCellEventArgs e)
in System.Windows.Forms.DataGridView.EndEdit(DataGridViewDataErrorContexts context, DataGridViewValidateCellInternal validateCell, Boolean fireCellLeave, Boolean fireCellEnter, Boolean fireRowLeave, Boolean fireRowEnter, Boolean fireLeave, Boolean keepFocus, Boolean resetCurrentCell, Boolean resetAnchorCell)
in System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)
in System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
in System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
in System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
in System.Windows.Forms.UDataGridView.OnMouseDown(MouseEventArgs e)
in System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.DataGridView.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
AziendaSoft
Versione: 7.304.860 Rete
Versione archivi: 7.0.5
Sistema operativo: Microsoft Windows 10 Pro