Grid View Question-- Beginer Level
Hello guys, I was wondering how do I delete a particulat record from a data grid. In other words I'm displaying bunch of messages to teh user and then there is going to be a button that will allow us to delete the message that is selected (by the way, Data grid has a check box colum which needs to be checked and the checked message would be deleted). Now I know that in 2.0, the Grid view has built in supprot for updates and deletes, but this button (DELETE) needs to just show up at the top just once in the header and not next to every single row in the data grid...could some one tell me how do I go through each row in grid view, and based on what's checked, delete that record from the Data base.
Thanks