公告
<script language="javascript" src="http://blog.mapbar.com/blogmap/mapjs.jsp?nid=07032713454604420370&width=190&height=303"></script>
|
|
| 30 | 31 | 1 | 2 | 3 | 4 | 5 |
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | 30 | 31 | 1 | 2 |
| 3 | 4 | 5 | 6 | 7 | 8 | 9 |
常用链接
留言簿
我参与的团队
随笔档案
相册
最新评论

阅读排行榜
评论排行榜

2008年1月27日
摘要: 一个可以上下左右滚动的经典代码。1<HTML>2<HEAD>3<TITLE>滚动效果</TITLE>4<metahttp-equiv="Content-Type"content="text/html;charset=utf-8">5</HEAD>6<BODYSTYLE="overflow:hidden;border:0"...
阅读全文
posted @
2008-03-08 15:58 清新空气 阅读(18) |
评论 (0) |
编辑
今天下午在修改原来的ASP程序,其中我添加了了一个更新字段的SQL语句如下:
conn.Execute "update t_main set password='123456' where uid=2"
结果页面即不执行也不出现任何错误,不提示错误真是比提示错误还痛苦,刚开始以为是其他语句除了问题,逐句排查,最后断定问题就在这一句上,可是看来看去语法没问题呀?
经过baidu一搜,对比了一下可能出现的问题,终于找出原因在于:password 是个关键词,改为
conn.Execute "update t_main set [password]='123456' where uid=2"
运行正常。
设计数据库字段的时候,一定要按照命名规范,不然出现莫名的小问题,就得浪费时间和心情去解决。
posted @
2008-01-27 18:31 清新空气 阅读(42) |
评论 (0) |
编辑