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

关于asp.net动态文件转静态的html文件!

如果要转化的页面只有一两个,且两者之间的没什么关联,就可以用替换方法实现,先用html编写好一张网页,在需要用到数据库的地方用特殊的标签标记着,例如&id等。在用.net编写一张aspx网页用于把这些标签替换成想要的数据库内容,这样就行了。不过比较麻烦的是每次更新数据库都要转化一次。
还有就是如果是网页之间有很多关联的动态网页用怎样的方法转静态呢,请知道的读者解答一下,我先谢谢了!


相关文档:

asp.net下的数据图

图片:
http://hi.csdn.net/space-275744-do-album-picid-491613-goto-down.html
数据部分采用了C#+ASP.NET+ORACLE DB
图表部分采用了SQL SERVER 2005 的REPORTING SERVICE 。
将REPORTING SERVICE部署好以后,采用C#的REPORT VIEWER控件,就可以连到我们部署好的REPORT,省去自己动手画图的步骤。 ......

ASP.NET程序中常用的三十三种代码


1. 打开新的窗口并传送参数: 
  传送参数:
response.write("<script>window.open(’*.aspx?id="+this.DropDownList1.SelectIndex+"&id1="+...+"’)</script>")
  接收参数:
string a = Request.QueryString("id");
string b = Request.QueryStrin ......

ASP.NET Routing for URLRewriting with QueryStrings

In the last post I showed how to use the ASP.NET 3.5 Routing Engine
for URLRewriting purposes. I want to go further in this post by adding
the ability to add variables into a route path and forward and append
query string variables to the destination Web Form request.
A route can contain one or ......

asp.net生成静态页

先建个html模版页(template.htm):
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>$title</title>
</head>
&l ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号