↧
Answer by Nick Kahn for How can I grab the current url and assign it to a...
VB.NET'static variablePrivate Shared prevPage As String = String.EmptyProtected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load If (Not IsPostBack) Then prevPage =...
View ArticleAnswer by George Johnston for How can I grab the current url and assign it to...
You can find this in the request object. e.g. Request.Url.AbsoluteUriDim url As String = Request.Url.AbsoluteUri
View ArticleHow can I grab the current url and assign it to a variable using vb and asp.net?
I have a form that the user fills out and submits. I have vb code that converts that form into an email and sends it to me. I need to know what page it is coming from so I want to assign the current...
View Article