My SQL query is
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);
When I try to retrieve the data I am getting an exception:
The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
Please anybody help me