我想做一个产品页面的datalistview。
这是我现在使用的:
SELECT DISTINCT pProductDesign, pProductImage
FROM Product
WHERE (pProductDesign IS NOT NULL)
ORDER BY pProductImage
结果是:
pProductDesign|pProductImage
128101 |~/Images/128101-Cream.jpg
128101 |~/Images/128101-Gold.jpg128101 |~/Images/128101-卡其色.jpg
8680C |~/Images/8680C-Cream.jpg
8680C |~/Images/8680C-Gold.jpg
8680C |~/Images/8680C-Khaki.jpg
但我想要的只是:
pProductDesign|pProductImage
128101 |~/Images/128101-Cream.jpg
8680C |~/Images/8680C-卡其色.jpg
有什么办法吗!?