newbie help needed
im new to asp.net (vb)
can anyone help me ive written some code (see below) to pull some vars from a string in the url
i needed to send these to a mssql database any ideas how i do this, any code would be much appreciated
thanks,
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim campaignQS As String
Dim urlQS As String
Dim voteQS As String
If Not HttpContext.Current.Request.QueryString("var2") Is Nothing Then
campaignQS = HttpContext.Current.Request.QueryString("var2")
End If
If Not HttpContext.Current.Request.QueryString("var3") Is Nothing Then
urlQS = HttpContext.Current.Request.QueryString("var3")
End If
If Not HttpContext.Current.Request.QueryString("var") Is Nothing Then
voteQS = HttpContext.Current.Request.QueryString("var")
End If