I have a problem with a datagrid. When the user ends modifying a cell data and presses Enter, it saves data to the database and the normal behavior of the datagrid is to select the next row but same column.
My datagridview does not do that. I have not been able to see why, I don'w know where I turned the wrong way.
I'll explain myself better:
I have a datagridview which I programatically fill with data, wait for the user to change an specific cell value (qty of order) and update database table and then fill the datagridview again with the new data (calculating final price).
I am currently using CellValueChanged for the database part, CellEndEdit to refill the datagridview, EditingControlShowing to be able to filter unwanted chars and Datagridview KeyUp to catch the Delete keycode.
My current query has a lot of unions, because the final user wants the datagridview list separated by product categories.
Thank you, very much.