Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

i would like to know how how to pass the selected value from a drop list on the first page to the second page as the value for a parameter

 

ie

page one

 

Private Sub cmdAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdAdd.Click

Response.Redirect("addMag.aspx?vol=" & ddVolume.SelectedItem.Value.ToString & "-Issue=" & ddIssue.SelectedItem.Value.ToString)

End Sub

 

page two

 

daAddArticle.SelectCommand.Parameters("@issueId").Value = ddIssue.SelectedItem.Value

 

when i sue it on the respose.redirect the value shows on the address bar

 

how can i place that value on the select command

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...