>>> 5.文件名请用英文小写加数字(和半角下划线)命名。[想想你的页面搬到unix主机上的惨状] 这一点, 以前没有注意过, 我都是这样的命名: editNews.asp delNews.asp 看样子要写成 edit_news.asp del_news.asp 好一点。 ---------------------------------------- 我也来补充几点代码规范: 1. 很多人都没有注意到的, 也是我特别要建议的: 运算符的两侧, 请多写一个空格。 试比较: a=(b*c/d+3.243)&"sdfsdfsdflkj"&"asdsd" 和 a = (b * c / d + 3.243) & "sdfsdfsdflkj" & "asdsd" 的可读性区别。 不言自明。 2. 代码请按照逻辑进行正确的缩进! 例子: if a = 3 then response.write "test" else response.write "sdfsdf" end if "" -------------> 注意这里, 两个逻辑上的语句块之间请保留一个空行 do while not rs.eof response.write "test" rs.MoveNext loop 错误的例子: if not rs.eof then response.write "a" else response.write "sfldfsd" end if if a = 1 then if b = 2 then c = "sdfkgkgskldf" if d = "dfs" then e = "sdf" end if f = "sdlkfsldfk" end if for i = 0 to 100 response.write i next end if 据我观察,以上代码习惯的人在 asp 程序员里面至少占 80%, 我说的一点都不夸张。 你们看看吧,上面这段代码,能否看懂。反正我是看到这种就头大。