G
Guest
I have a situation where I let users manipulate rows trough a datagridview,
when they save, I scroll trough the rows created by .GetChanges and report to
the database any changes through stored procedures. For updates and inserts,
there is no problems but for deletes I need a way to send to the stored
procedure the key value or values to delete the right row. But of course, if
I try to ask for the value of key column(s) I get the exception. Anybody
knows how to go around this?
when they save, I scroll trough the rows created by .GetChanges and report to
the database any changes through stored procedures. For updates and inserts,
there is no problems but for deletes I need a way to send to the stored
procedure the key value or values to delete the right row. But of course, if
I try to ask for the value of key column(s) I get the exception. Anybody
knows how to go around this?