Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing value from .NET to Classic ASP
Message
De
17/09/2009 10:49:06
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
01424901
Message ID:
01424906
Vues:
54
>Does anyone know of any sample code for passing a textbox value on a asp.net webform to a classic asp page? The way we would like to do it is using request.form instead of request.querystring. When we try to do it now, we are getting blanks as a value.

The way I use it is like this:
                        lcValue = oProcess.oRequest.Form(tcField)
                        If lcValue Is Nothing Then
                            lcValue = ""
                        Else
                            lcValue = Trim(lcValue)
                        End If
Basically, in its simple way it would be Request.Form(tcField). oProcess and oRequest are simply local objects.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform