Groups | Blog | Home
all groups > inetserver asp db > october 2004 >

inetserver asp db : Edit or Delete records



Rajani
10/29/2004 7:45:02 PM
Hi,

I have two tables and both are referenced. I want to perform Edit/Delete.
I am displaying all the record in table format.

checkbox rollno batchno color_code(select control) qty

The user will check the checkbox to edit/delete the corr record. Rollno,
batchno, qty are textboxes. I want to assign same name to all columns(rollno
to txtRollNo) for all records. When i submit the form, how can i identify
which record to modify/delete coz i want to do only the checked records.

Maarten
10/30/2004 11:24:50 AM

When you create the page, then you add for each a hidden variable which hold
the recordnr.

<INPUT NAME='ID' TYPE='HIDDEN' VALUE=" & RS("Id") & ">"



AddThis Social Bookmark Button