主题:关于mobile的form问题
public S_session As boolean
Private Sub Command7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command7.Click
If S_session = True Then Response.Write("dfsdsdsf")
ActiveForm = Form1
End Sub
Private Sub Command8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command8.Click
S_session = True
ActiveForm = Form2
End Sub
command7是form1的按钮,command8是form2 的按钮,我想实现的是按了cmd7之后跳到form2,按了form2的cmd8之后把全局变量改边s_session这个全局变量,但是好象用activeform不能实现这个功能,我想请问在form之间有没有想response.redirect的功能,可以重新加载form的,activeform好象实现不了这个功能,请大家帮忙,谢谢[em1]
Private Sub Command7_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command7.Click
If S_session = True Then Response.Write("dfsdsdsf")
ActiveForm = Form1
End Sub
Private Sub Command8_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Command8.Click
S_session = True
ActiveForm = Form2
End Sub
command7是form1的按钮,command8是form2 的按钮,我想实现的是按了cmd7之后跳到form2,按了form2的cmd8之后把全局变量改边s_session这个全局变量,但是好象用activeform不能实现这个功能,我想请问在form之间有没有想response.redirect的功能,可以重新加载form的,activeform好象实现不了这个功能,请大家帮忙,谢谢[em1]