谁能帮忙解释下
ProtectedSubButton1_Click(ByValsenderAsObject,ByValeAsSystem.EventArgs)HandlesButton1...
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Session("yonghuming") = Label1.Text
Response.Redirect("kecheng.aspx")
End Sub
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Session("yonghuming") = Label1.Text
Response.Redirect("fabutongzhi.aspx")
End Sub
Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click
Session("yonghuming") = Label1.Text
Response.Redirect("chakanzuoye.aspx")
End Sub
Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
Session("yonghuming") = Label1.Text
Response.Redirect("xiugai.aspx")
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.Text = Session("yonghuming")
End Sub
End Class
谁能帮忙解释下 展开
Session("yonghuming") = Label1.Text
Response.Redirect("kecheng.aspx")
End Sub
Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click
Session("yonghuming") = Label1.Text
Response.Redirect("fabutongzhi.aspx")
End Sub
Protected Sub Button5_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button5.Click
Session("yonghuming") = Label1.Text
Response.Redirect("chakanzuoye.aspx")
End Sub
Protected Sub Button4_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button4.Click
Session("yonghuming") = Label1.Text
Response.Redirect("xiugai.aspx")
End Sub
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Label1.Text = Session("yonghuming")
End Sub
End Class
谁能帮忙解释下 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询