我的网站 ASP.NET MVC 做的 发布后 Default.aspx 跳转至
<%
Response.Redirect("/index.html"); 整站首页
%>
我IIS内已经配置了 C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll 后缀.html
但是网站 就是找不到
了解的 各位大哥 帮我看下
自己顶一下
Response.Redirect("/index.html");
==
Response.Redirect("index.html");
MVC不是这样来跳转了,楼主参考下这段代码。
public class MvcApplication : System.Web.HttpApplication
{
public static void RegisterRoutes(RouteCollection routes)
{
routes.IgnoreRoute("{resource}.axd/{*pathInfo}");
routes.MapRoute(
"Default", // Route name
"{controller}/{action}/{id}", // URL with parameters
相关问答:
select top 12 * from Product where [id] not in (select top 12 [id] from Product)
这样可以分页,但是我在后面想加个条件
select top 12 * from Product where [id] not in (select top 12 [id] from Prod ......
哪位大哥有没有ASP.NET中利用Cookies实现用户自动登录的代码...谢谢了...越详细越好....
什么意思?自动登录?
mark 貌视是存储cookies 我也对cook比较迷糊 关注下
既然你知道用cookies自己动动大脑多好! ......
本人目前遇到一个难题,请各位高手、大侠帮帮忙。
我单击一个按钮时要把gridview中的数据一个一个的取出并把对应参数传递给前台的js。
我试了几种后台调前台的方式都没有成功,所以请大侠们帮帮小弟。
谢谢。
不 ......
小弟搞ASP.NET也快2年了
但是架构问题一直都是用的别人架构好的
一直想自学架构
有介绍好书的没?
大家一起分享哈
感激不敬啊
sf
先学基本的吧《你必须知道的.NET》
迅雷上可以下的。
你必 ......
C# code:
SqlConnection conn = CsDB.sqlcon();
SqlDataAdapter da = new SqlDataAdapter("select fwCoding from bjmuma_fwCoding where OrderNumber='" + Order + & ......