I have a datagrid which displays some information and it also has a Delete button column.
My problem is I do not want to display the id (database key) associated with the record on the page, but I need this value to delete the record when the user clicks delete. Is there a way to store the key value somewhere so that when the user clicks delete I can delete it from the database. This key value is the only thing guarenteed to be unique, so I can't do a findbyvalue on a column with text in it.
My problem is I do not want to display the id (database key) associated with the record on the page, but I need this value to delete the record when the user clicks delete. Is there a way to store the key value somewhere so that when the user clicks delete I can delete it from the database. This key value is the only thing guarenteed to be unique, so I can't do a findbyvalue on a column with text in it.