[2008] DataGridView update problem
Hi,
(This post with pictures: http://www.ti.rs/problem/problem.html) - recomended for understanding
Short intro: Program is for managing supplies of the restaurant
There are simple items to sell or complex items with ingredients. This part of program manage complex items with ingredients.
There is DataGridView, on the form which is fill by: Me.MagacinSlozeniTableAdapter.Fillby(Me.KonobarDataSet.MagacinSlozeni, BrojID)
Using combobox in Datagridview I chose Items, if item is complex, already with ingredients I fill table with:
Me.MagacinSlozeniTableAdapter.ClearBeforeFill = False
Me.MagacinSlozeniTableAdapter.FillByMagacinID(Me.KonobarDataSet.MagacinSlozeni, BrojID, KolicinaID, MagacinID)
Problem is when I fill items with, ingredients, it is shown in DataGridView but NOT update to database
All items which are chosen manualy from combo box is updated, but programmatically added items NOT