sql="select * from product where ID in(select max(ID) from product where proclass='"&proclass&"' group by protitle)"
protitle字段有多個記錄相同,此SQL僅顯示最近上傳的相同protitle內容的一個記錄,以便循環顯示時的唯一性。
sql="select * from product where ID in(select max(ID) from product where proclass='"&proclass&"' group by protitle)"
protitle字段有多個記錄相同,此SQL僅顯示最近上傳的相同protitle內容的一個記錄,以便循環顯示時的唯一性。
五、操縱dataset 在DataSet中DataRow是其所有數據的基本存放位置,它主要是由一個值數組組成,代表DataTable單獨一行。 Da