2015-06-18 12:46
Rolf
Noriu išrašyti sąskaitą, bet neleidžia užpildyti eilutės, kur surašoma kiekis,kaina ir kiti duomenys.
Išmeta lentelę:Klaidos duomenys:
Klaidos tekstas:
Object reference not set to an instance of an object.
Klaidos šaltinis(Ex.Source):
ApskaitaObjects
Klaidos metodas (Ex.TargetSite):
Create
Klaidos stekas:
at ApskaitaObjects.Documents.InvoiceMadeItem.Create(InvoiceAttachedObject nAttachedObject)
at ApskaitaObjects.Documents.InvoiceMadeItem..ctor(InvoiceAttachedObject nAttachedObject)
at ApskaitaObjects.Documents.InvoiceMadeItemList.AddNewCore()
at System.ComponentModel.BindingList`1.System.ComponentModel.IBindingList.AddNew()
at Csla.SortedBindingList`1.AddNew()
at System.Windows.Forms.BindingSource.AddNew()
at System.Windows.Forms.CurrencyManager.AddNew()
at System.Windows.Forms.DataGridView.DataGridViewDataConnection.AddNew()
at System.Windows.Forms.DataGridView.DataGridViewDataConnection.OnNewRowNeeded()
at System.Windows.Forms.DataGridView.OnRowEnter(DataGridViewCell& dataGridViewCell, Int32 columnIndex, Int32 rowIndex, Boolean canCreateNewRow, Boolean validationFailureOccurred)
at System.Windows.Forms.DataGridView.SetCurrentCellAddressCore(Int32 columnIndex, Int32 rowIndex, Boolean setAnchorCellAddress, Boolean validateCurrentCell, Boolean throughMouseClick)
at System.Windows.Forms.DataGridView.OnCellMouseDown(HitTestInfo hti, Boolean isShiftDown, Boolean isControlDown)
at System.Windows.Forms.DataGridView.OnCellMouseDown(DataGridViewCellMouseEventArgs e)
at System.Windows.Forms.DataGridView.OnMouseDown(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.DataGridView.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.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)