关于两aspx页面通讯问题
有个两个aspx网页要进行通讯,第一个网页点击提交按钮后在第二个网页中现实前一个网页提交的内容,可是编译没问题,可是调试的时候老是出错,求高人指点,我这个程序是用VB写的第一个网页: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim url As String
url = "webform3.aspx?name=" + TextBox1.Text + "&password=" + TextBox2.Text + "&age=" + DropDownList1.SelectedItem.Selected + "&brithday=" + Label11.Text + "&email=" + TextBox4.Text + "&Sex=" + RadioButtonList1.SelectedItem.Selected + "&Explanation=" + TextBox5.Text
Page.Response.Redirect(url)
End Sub
第二个网页:
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
'在此处放置初始化页的用户代码
Label9.Text = Request.QueryString("name").ToString
Label10.Text = Request.QueryString("password").ToString
End Sub
IIS错误提示:异常详细信息: System.FormatException: 输入字符串的格式不正确
我的那个URL那里该怎么写?