如何从一个asp.net页面重定向到另一个网站页面 [英] How to redirect from one asp.net page to another website page

查看:120
本文介绍了如何从一个asp.net页面重定向到另一个网站页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好

有一个网页名称webform1.aspx,我想将此页面重定向到www.gmail.com。我该怎么做。我使用的是超链接按钮和Response.Redirect(www.gmail.com),但我没有得到实际的结果。请帮帮我。

Hi all
There is a webpage name webform1.aspx and i want to redirect this page to the www.gmail.com . How can i do it. I have use hyperlinkbutton and Response.Redirect("www.gmail.com") but i have not got the actual result. Please help me.

推荐答案


大家好

有一个网页名称webform1。 aspx,我想将此页面重定向到www.gmail.com。我该怎么做。我使用的是超链接按钮和Response.Redirect(www.gmail.com),但我没有得到实际的结果。请帮我。
Hi all
There is a webpage name webform1.aspx and i want to redirect this page to the www.gmail.com . How can i do it. I have use hyperlinkbutton and Response.Redirect("www.gmail.com") but i have not got the actual result. Please help me.






这是一件简单的事情


Response.Redirect( http://www.google.co.in/"


尝试

hi

This is a simple thing

Response.Redirect("http://www.google.co.in/")

try it



hi


这是一件简单的事情


Response.Redirect(" http://www.google.co。在/ /)


试试吧
hi

This is a simple thing

Response.Redirect("http://www.google.co.in/")

try it



它不起作用

it说这个页面无法找到

It does''nt work
it says this The page cannot be found



大家好

有一个网页名称webform1.aspx和我想要将此页面重定向到 www.gmail.com 。我该怎么做。我使用的是超链接按钮和Response.Redirect(www.gmail.com),但我没有得到实际的结果。请帮我。
Hi all
There is a webpage name webform1.aspx and i want to redirect this page to the www.gmail.com . How can i do it. I have use hyperlinkbutton and Response.Redirect("www.gmail.com") but i have not got the actual result. Please help me.



Response.Redirect(" http://www.google.com")


甚至是skumarrcom'的回复效果很好!!


发布你的代码,如果它还没有工作

Response.Redirect("http://www.google.com")

even skumarrcom''s reply works great!!

post your code if it aint working still


这篇关于如何从一个asp.net页面重定向到另一个网站页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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