editing and deleting records in table

editing and deleting records in table

Post by kara » Wed, 06 Feb 2002 08:51:13



Hi all,
i am trying to put edit and delete thing besides each record in a
table...........using ASP,SQL Server
for example say a record is
Name Date School
Tom 1/1/01 KPG EDIT DELETE
Harry 1/1/01 KDS EDIT DELETE

any help would be really great!

 
 
 

editing and deleting records in table

Post by Narayana Vyas Kondredd » Wed, 06 Feb 2002 09:06:49


Karan, you just need to have another ASP page to which the current page
submits. In the initial page you will have to create the edit and delete
links with appropriate hyperlinks so that the prmary key gets passed on to
the ASP page mentioned in the ACTION tag of your form.

For example, considreing Tom's ID in the row is Tom001, your Delete and
Update links could be formed as:

ProcessDeletes.asp?id=Tom001
ProcessUpdates.asp?id=Tom001

Btw, just wanted to let you know, you are better off posting this question
to ASP database programming group :-)
--
HTH,
Vyas, MVP (SQL Server)
http://vyaskn.tripod.com/


Hi all,
i am trying to put edit and delete thing besides each record in a
table...........using ASP,SQL Server
for example say a record is
Name Date School
Tom 1/1/01 KPG EDIT DELETE
Harry 1/1/01 KDS EDIT DELETE

any help would be really great!