Hello Everybody.
I'm trying to add a new row in a datagridview by typing in a new cell, then pressing the Enter key so that all remaining cells in the row can autocomplete with the information retrieved from an SQL query.
So far I was able to make the autocompletion by typing the new value in the cell, then selecting another cell (because if I dont, the DataError event window pops up and tells me that i can't leave the other cells with null values), and then selecting the original cell to Press Enter. Im using the KeyDown event to do so.
But i dont want to navigate out of the first cell and then come back before pressing Enter. Is there an event that can help me with this?
Hope the issue was understood, if not I will be glad to hand you out more information.
Sorry for my bad english.
Thanks in advance.