Information générale
Titre:
How to set a variable
Hi All,
I have one ASP page in which I have two buttons “Add” and “Save”
What I want to do:-
If I click on “Add” button and then Click on “Save” it will insert a record. Or if I click on “Save” button then it will update that record.
For this I want to set a variable “OPTMODE” if I click on “Add” then “OPTMODE” value = “INSERT” otherwise “OPTMODE” = “UPDATE”. How to do that.
In VB its very easy.
Am new in ASP.
Thanks for ur help,
…ashish
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement