First up, please post your questions in the most appropriate forum for the topic, not just the first one you come to. Anyone who takes the time to read the forum descriptions can find the most appropriate forum so, after 18 posts, we shouldn't have to tell you this. Thread moved.
As for the question, either you are mistaken about what's happening, your own code is causing that problem or there's something seriously wrong with your project because that's not how the DataGridView works. The row is not added to the underlying DataTable until you navigate away from the grid row. I've attached a project to demonstrate this. As you can see from that project, no error message is displayed unless you try to leave the new row without entering a value for the middle column.
|