当前位置: 代码迷 >> ASP.NET >> 关键字 'FROM' 附近有语法异常
  详细解决方案

关键字 'FROM' 附近有语法异常

热度:4857   发布时间:2013-02-25 00:00:00.0
关键字 'FROM' 附近有语法错误

  string strsql = "selcet [mon], [btime], [bxbm], [qk], [name], [over], [overtime], [other] FROM [baoxiu] where [name]='session[userName]' and [mon]>='" + startime.Text + "' and [mon]<='" + overtime.Text + "'";
  //sql的查询语句

  cmd.Fill(dataset);到这里的时候出错了

------解决方案--------------------------------------------------------
selcet 都写错了

select
  相关解决方案