日期:2014-05-17  浏览次数:20411 次

关键字 '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