22-11-20, 05:14 PM
حسب ما فهمته عندك جدول به :
ID , ProductName , BarCode1 , BarCode2 , BarCode3
نص الاستعلام ببساطة :
Select * From Products Where BarCode1 = @BarCode Or BarCode2 = @BarCode Or BarCode3 = @BarCode
و @BarCode هو البارمتر الذي ستضع به الباركود
ID , ProductName , BarCode1 , BarCode2 , BarCode3
نص الاستعلام ببساطة :
Select * From Products Where BarCode1 = @BarCode Or BarCode2 = @BarCode Or BarCode3 = @BarCode
و @BarCode هو البارمتر الذي ستضع به الباركود

