vb.Net:如何在回发中调用其他页面 [英] vb.Net : how to call a different page on postback

查看:58
本文介绍了vb.Net:如何在回发中调用其他页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨-

如何在回发时在vb.net中调用不同的.aspx页面?

这是调用页面的服务器端脚本(页面的功能),而不是加载页面.

谢谢,

Hi--

how will i call a different .aspx page in vb.net on postback?

this is to call the server-side script of the page (the functions of the page) and Not to load the page.

Thanks,

推荐答案

您可以使用Page.IsPostBack 属性,然后调用

You can check if it is a postback using the Page.IsPostBack property and, call to the HttpResponse.Redirect method with the wanted page.


这篇关于vb.Net:如何在回发中调用其他页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆