General information
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only