Paulhar Posted October 5, 2008 Share Posted October 5, 2008 Hi All,I am using a do...while loop to retrieve records from a recordset. Inside the loop I am creating an 'Edit' button - so I have one button for each record.When the user clicks on one of the buttons I want to edit that record but how can I know which button has been clicked ?CheersPaul Link to comment Share on other sites More sharing options...
amj Posted October 6, 2008 Share Posted October 6, 2008 I'm assuming that you only want to do one record at a time.the onclick event of the button could be edit.asp?id=##### and insert whatever variable you are using as you go through each record on the display page.See the ASP101 sample for the db 3 in one page http://www.asp101.com/samples/db_edit.asp change the links to buttons etc... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.