请教一下,我参照说明,写了条查询数据库的语句,但C#提示报错,字符文本里面的字符过多等,可见图,敬请指导一下,多谢;
```c#
``` SqlString = "select EquipmentName,CreateTime,ParamsName,Value from b_HistoricalData where Equipmentname = '" + comboBox1.Text + "'and ParamsName like '%" + textBox1.Text + "%'";
and CreateTime >= '" + dateTimePicker1.Value.ToString("yyyy-MM-dd") +"' and CreateTime <= '" + dateTimePicker2.Value.ToString("yyyy-MM-dd") + "' order by CreateTime asc" ;