如何在asp.net中的用户定义函数内从一个页面导航到另一个页面

时间:2014-02-06 20:37:18

标签: asp.net

这是我的代码。

Protected Sub testcall()
    HttpContext.Current.Response.Redirect("Default3.aspx", True)
End Sub

我想导航到Default3.aspx,但它无效。

1 个答案:

答案 0 :(得分:0)

Ya.sorry。它现在正在工作。我的visual studio 2010中出现了一些问题。现在这段代码工作正常。