易截截图软件、单文件、免安装、纯绿色、仅160KB

ASP.NET怎么做静态页

ASP.NET怎么做静态页~
最好给个程序
up

用vs2005就可以啊


那样你需要一个CMS系统,如果你是大网站,自己开发;小网站,就用别人的咯~

引用
伪静态而已
如果你的页面真的不需要交互,只是发布内容,可以用CMS系统来生成
门户网站的编辑们就是做这个的~

正解

URL重写也可以,找个urlrewrite的dll

不行 MSDN的 东西 看不懂

我把这个放在WEB。CONFIG里 提示

错误 7 无法识别的配置节 RewriterConfig。 D:\Visual Studio 2008\WebSites\复件 2.0 syyq\web.config 18


C# code:
<RewriterConfig>
<Rules>
<!-- 产品制表者规则 -->
<RewriterRule>
<LookFor>~.aspx</LookFor>
<SendTo>~.html</SendTo>
</RewriterRule>

</Rules>
</RewriterConfig>



相关问答:

asp.net分页问题

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中可输入的下拉框的问题 - .NET技术 / ASP.NET

Imports System.ComponentModel
Imports System.Web.UI
Imports System.Web.UI.Design
Imports System.Web.UI.WebControls
Namespace CBDAspNet.WebControls.HTML
  ''' <summary>
  '' ......

在asp.net里面脚本出错 - .NET技术 / ASP.NET

function CheckOpwd(){//验证用户名
var pwd=document.all.txtOpwd;

var div1=document.getElementById("divPwd");

if (pwd.value=="")
{
......

asp.net 样式

页面 Index.aspx 运行时 页面样子变了
把Index.aspx 生成的代码 复制到 index.html里面运行就没问题 
不知道为什么 CSS路径都是相对的
路径用/css/your.css来表示 第一个/表示网站根目录。

路径可能有 ......

asp.net生成的代码排版自动吃掉换行

源代码是挺好看的,在vs2008编辑模式下
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn">
<head id="Head1" runat="server&qu ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号