A
Adel Khalil
hello, am in a bit of a problem.. wonder if anyone can help?
I got two tables one is tblOrders and the other is tblDeletedOrders
I'm handling the UserDeletingRow to insert the deleted row (order) into the
tblDeletedOrders to sort out some kind archive or log.
I'm using this code which is evaluating to nothing and after delete I find
the tblDeletedOrders empty.
private void dgvOrders_UserDeletingRow(object sender,
DataGridViewRowCancelEventArgs e)
{ DataRow dr = ((DataRowView)(e.Row.DataBoundItem)).Row;
dataFilesDataSet.tblDeletedOrders.ImportRow(dr);
}
thanks in advance.
I got two tables one is tblOrders and the other is tblDeletedOrders
I'm handling the UserDeletingRow to insert the deleted row (order) into the
tblDeletedOrders to sort out some kind archive or log.
I'm using this code which is evaluating to nothing and after delete I find
the tblDeletedOrders empty.
private void dgvOrders_UserDeletingRow(object sender,
DataGridViewRowCancelEventArgs e)
{ DataRow dr = ((DataRowView)(e.Row.DataBoundItem)).Row;
dataFilesDataSet.tblDeletedOrders.ImportRow(dr);
}
thanks in advance.