I am creating a page with the usual feature to access a DB and edit.\n\nI have the common delete command in the datalist. But I need to create\na prompt to display and ask the user again if they really want to\ndelete this record.\n\nBut I am a bit puzzled as to how to go about this when you are dealing\nwith a datalist delete command. As I don't want to lose the details,\nof the selected to be deleted item on page reload. Would I need to use\nsessions?\n\nSince the user prompt was pretty useful and may be needed for other\ntimes. I was thinking of creating a generic one with 2 buttons (Yes &\nNo). But then I would need to assign different command functions to be\nexecuted depending on what the prompt is asking. I know you can assign\nnumerous buttons to a function, but how about the other way. I.e. one\nbutton with numerous functions and where a function will be executed\ndepending on what is being asked? Or is this impossible? Or is there a\nnifty way to implement this than having all the functions in one big\nfunction and using a select statement.