关于Asp.net程序 [英] regarding Asp.net program
本文介绍了关于Asp.net程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我是asp.net beginner.i,我运行以下程序
i am asp.net beginner.i run the following program
<html>
<body>
<center>
<h2>ASP.NET</h2>
<p><%response.write(now)%></p>
</center>
</body>
</html>
在上面的程序中
in above program
<%response.write(now)%>
未执行或没有相应的执行在浏览器中显示
真正的原因是什么?
环境是Windows XP SP2,IIS v5.1,.Net 4
使用命令启动asp.net
is not getting executed or there is no corresponding display in browser
what is the actual reason for that?
environment is windows xp sp2,iis v5.1, .Net 4
started asp.net using command
aspnet_regiis.exe -i
推荐答案
您是否尝试过
Have you tried
<%Response.Write(DateTime.Now.ToString())%>
<html>
<body>
<center>
<h2>ASP.NET</h2>
<p><% Response.Write(DateTime.Now.ToString())%></p>
</center>
</body>
</html>
这篇关于关于Asp.net程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文