我的 SQL 查询是
cmd = new OleDbCommand("select vchr_No as voucher No, vchr_Date as Date,
vchr_Acnthd as Debit, vchr_Prtynm as Paid to
from cshvchrs
where vchr_No like '%" + vchno + "%' ", con);
当我尝试检索数据时出现异常:
SELECT 语句包含拼写错误或丢失的保留字或参数名称,或者标点符号不正确。
请任何人帮助我