Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to set a variable
Message
De
22/05/2001 22:18:49
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to set a variable
Divers
Thread ID:
00510175
Message ID:
00510175
Vues:
47
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
Fil
Voir

Click here to load this message in the networking platform