G
Guest
I have a form with a couple of datagridviews on them. I'm want to
automatically update the database so I've been calling tableview.update when
the bindingsource.listchanges event fires. WELL ... it seems the user likes
to switch back and forth between datagrids, maybe tabbing or ENTERing while
in the cells, maybe not. If they do that kind of thing enough, maybe 3 or 4
times, eventually a NoNullAllowed exception throws for the primary key.
Has anyone else seen this? Any ideas?
automatically update the database so I've been calling tableview.update when
the bindingsource.listchanges event fires. WELL ... it seems the user likes
to switch back and forth between datagrids, maybe tabbing or ENTERing while
in the cells, maybe not. If they do that kind of thing enough, maybe 3 or 4
times, eventually a NoNullAllowed exception throws for the primary key.
Has anyone else seen this? Any ideas?