如何从aspx页面重定向到html页面? [英] How to redirect to html page from aspx page?
本文介绍了如何从aspx页面重定向到html页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试将此代码从asp.net页面重定向到html
Responce.Redirect(index.html);
但它不会重定向。我该怎么办?
I tried this code to redirect from asp.net page to html
Responce.Redirect("index.html");
but it won't redirect. what can I do ?
推荐答案
您好朋友,除了其他建议外,请确保拼写正确。我不确定你是否只在这里输入错字:
Hello friend, In addition to the other suggestions, please make sure that you spell it correctly. I'm not sure if you made the typo here only:
Responce.Redirect("index.html");
它应该是:
It should be:
Response.Redirect("index.html");
- DD
- DD
这篇关于如何从aspx页面重定向到html页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文