D
DanG
I do not want to delete the row from the database when the user clicks
"delete" on the datagrid. I want to mark the dataset record as
deleted, and let the DataAdapter call the delete sproc when the "save"
button is clicked.
In the datagrid1_deletecommand function, .NET returns e.item, which
points to the DATAGRID row. How do I get a pointer to the DATASET row
that was used to create the grid row?
I can't use the e.Item.ItemIndex, because it doesn't account for
previously deleted records. I thought perhaps the e.Item.DataItem
sounded right, but it comes back null.
tia
Dan
"delete" on the datagrid. I want to mark the dataset record as
deleted, and let the DataAdapter call the delete sproc when the "save"
button is clicked.
In the datagrid1_deletecommand function, .NET returns e.item, which
points to the DATAGRID row. How do I get a pointer to the DATASET row
that was used to create the grid row?
I can't use the e.Item.ItemIndex, because it doesn't account for
previously deleted records. I thought perhaps the e.Item.DataItem
sounded right, but it comes back null.
tia
Dan