in my DataGridView I click on a new row, then new empty row appears at the bottom, it is standard behaviour and there is no problem. So I fill the row and click on the last empty row and here is the problem, the row I just filled disappears. Cells in datagridview are of different types textbox, datagridviewcombobox, date, int. I catch DataError event and there is no error message.
Thats the way I set the data source DataGridView.DataSource=dataTable;
I can not find the reason why this happens. I found that one of the reasons could be because entered data are not valid but as far as I am convinced this should not be my case, but maybe I am wrong.