问题描述
Hello All,
我是新手编码的新手,已经完成了建立内部网站的任务....我到目前为止已经有了已经被卡住了......
我在一个页面上有一个按钮,我想打开另一个页面,但我无法弄清楚编码。 />
这是ASP.Net编码窗口中出现的内容
受保护的子BtnCapture_Click(发件人为对象,e作为EventArgs)处理BtnCapture.Click
End Sub
对不起缺乏信息,但我不确定人们会想知道什么,如果你需要,请告诉我
提前谢谢
Emma
Hello All,
I am new to coding completely and have been given the task of setting up an internal website.... Ive got so far and have got stuck already this being ....
I have a button on one page that I want to open up another page but I cannot figure out the coding.
This is what appears within the ASP.Net coding window
Protected Sub BtnCapture_Click(sender As Object, e As EventArgs) Handles BtnCapture.Click
End Sub
Sorry for the lack of information but I'm not sure what people would want to know, if your needing anymore then please let me know
Thanks in advance
Emma
推荐答案
Protected Sub BtnCapture_Click(sender As Object, e As EventArgs) Handles BtnCapture.Click
Response.Redirect("NewPage.aspx")
End Sub
这篇关于ASP.Net按钮命令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!