I have a datagridview(dgv) control which is bound to a typed dataset.
There is a hidden column called "ItemId", it is a not null column in database, this is used when update the data in dgv.
Now, when the application is start and I create a new application, the dgv is empty and user need to type in data in the dgv.
However, when I finish editing a row, and try to exit out from the row, I got an Exception "Column ItemId does not allow null".
What should I do to allow the dgv to ignore the null ItemId?
Thank you in advance.