记录一些经验

学习,生活

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
strSql = "insert into DebugNote (boardid) values(case when '"+this.txtWorkType.Text.Trim()+"' = '' then null else '"+this.txtWorkType.Text.Trim()+"' end)";
   strSql = "update DebugNote set boardid = case when '"+this.txtWorkType.Text.Trim()+"' = '' then null else '"+this.txtWorkType.Text.Trim()+"' end where debugid =1";
posted on 2008-03-29 20:37  将飞  阅读(451)  评论(0)    收藏  举报