Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to set a variable
Message
From
22/05/2001 22:18:49
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
How to set a variable
Miscellaneous
Thread ID:
00510175
Message ID:
00510175
Views:
46
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
Next
Reply
Map
View

Click here to load this message in the networking platform