posts - 21, comments - 25, trackbacks - 0, articles - 3
  博客园 :: 首页 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理

06 2008 档案

摘要: Access中:DateDiff('d',Time1,Time2)Sql中:DateDiff(d,Time1,Time2)下面是我自己的sql语句'判断数据库类型IF IsSqlDataBase = 1 ThenConn.execute("Delete from lyt_log_info where datediff(day,logintime,getdate())>=3 ")ElseCon...阅读全文

posted @ 2008-06-14 22:55 Don 阅读(781) | 评论 (0) 编辑 |

摘要: 用这句试试:(System.Diagnostics.Process.GetCurrentProcess().ProcessName != "devenv")阅读全文

posted @ 2008-06-12 15:08 Don 阅读(97) | 评论 (1) 编辑 |