Hi
While creating the datagrid, you can bind the value of checkbox with the unique message id of messages. Now, on delete of messages, you can simply find the value of selected checkboxes, concat them as 1,2,3 (where 1 2 & 3 will be the selected ids) and sent them to the delete stored procedure.
Regards
Mike
Fortune favours the brave, so don't regret on missed oppurtunities.
|