problem for update and delete row in table using jsp
Joined: Mar 24, 2008
hi my prob is like follow, i have a table that displays 5 fields from database in jsp page. now i want to update that row when i select the update button beside that particular row. i want to update the first row by clicking the first update button for ex.
NAME NO ADD abc 1 dhgf update delete def 2 hdsfj update delete
now i have an unique key in database for each row by it i want to update. can any one help me???/ thanks in advance please do fast i have deadline.
Nik, It sounds like you want to pass a parameter to the update button (the unique key.) How to do that depends on what your page looks like. For example, you could use a hidden input field for a form button. You could pass the parameter in the link (url?key=1) for a link submission.