Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing value from .NET to Classic ASP
Message
From
17/09/2009 10:49:06
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01424901
Message ID:
01424906
Views:
53
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform