O
Ogmios
Hi to All,
I have DataGridView control bound through databindingsource to the SQLServer
2005.
The problem is when I add or edit data, situation in the database is always
step behind form situation in the grid.
I use
exampleTableAdapter.Update(exampleDataTable);
for saving and editing.. Update method is implemented good.
If I use that same line of code inside event handler of some button
everything works well but in RowLeave event it will ignore me first time and
save second time when called!!!
I would appreciate any help.
Thanx in advance.
Ognjen
I have DataGridView control bound through databindingsource to the SQLServer
2005.
The problem is when I add or edit data, situation in the database is always
step behind form situation in the grid.
I use
exampleTableAdapter.Update(exampleDataTable);
for saving and editing.. Update method is implemented good.
If I use that same line of code inside event handler of some button
everything works well but in RowLeave event it will ignore me first time and
save second time when called!!!
I would appreciate any help.
Thanx in advance.
Ognjen