请问在MVC中如果添加一个类似Default page得View
i.e 既有 .aspx file写html又有 aspx.cs 写程序得。我在网上搜说是添加一个new items:MVC View Content Page 然后加到Views/Shared目录下的Site.Master母版页。
可我每次添加出来的都只是.aspx 格式的, 没有.cs 文件。除非添加webfrom。请高人指点啦~~
谢谢
i.e 既有 .aspx file写html又有 aspx.cs 写程序得。我在网上搜说是添加一个new items:MVC View Content Page 然后加到Views/Shared目录下的Site.Master母版页。
可我每次添加出来的都只是.aspx 格式的, 没有.cs 文件。除非添加webfrom。请高人指点啦~~
谢谢
解决方案 »
- vs2005,用scriptManager和updatePanle实现ajax,把dropdownList放updatePanle外面,并且autoPostBa
- double计算
- 大家帮我看下这样的功能如何实现??
- 请教通过webrequest进行文件上传时遇到的问题
- 哭死了!请各位帮帮忙!!
- 在客户端怎么设置dropdownlist为不可用?
- 如何提升DAtaSet读取XML的速度(从远程服务器中获取700K左右)
- 验证码
- 如何实现既可以象TEXTBOX那样输入文本又可以选择的DropDownList?
- datagrid 数据格式问题 online wait
- 不能更新记录
- could not find the visual sourcesafe internet web service connection information
一般来说一个页面对应一个action method在controller中。
按F5,页面对应的controller要有内容