以下是我寫在index.ashx中的代碼....希望訪問index.ashx之后跳轉到map.aspx
不知道哪里有錯 一直沒法跳轉....有大佬能幫我看看嘛
<%@ WebHandler Language="VB" CodeBehind="index.ashx.vb" Class="WebApplication1.apiMyBSTest" %>
Imports System.Web
Imports System.Web.Services
Public Class Handler1
Implements System.Web.IHttpHandler
Sub ProcessRequest(ByVal context As HttpContext) Implements IHttpHandler.ProcessRequest
context.Response.Redirect("map.aspx")
End Sub
ReadOnly Property IsReusable() As Boolean Implements IHttpHandler.IsReusable
Get
Return False
End Get
End Property
End Class
轉載請註明出處,本文鏈接:https://www.uj5u.com/net/133044.html
標籤:ASP.NET
