string strSQL = "select a.ID, a.FrontID, a.TotalPrice, a.Date, b.DrugID, b.Name, b.NameEng, b.PriceSell, a.[Quantity] from FrontDrug a left join D b on a.DrugID = b.DrugID where a.Date BETWEEN like '%" + TextBox1.Text + "%' AND like '%" + TextBox2.Text + "%'";
มันบอกว่ามีปัญหาตรงนี้ค่ะ where a.Date BETWEEN like '%" + TextBox1.Text + "%' AND like '%" + TextBox2.Text + "%'";
ไม่รู้ว่าอะไรอยู่ก่อนหลัง