Simple one (I hope!)
I have a table with stock and another table with pictures of the stock. I can loop through the stock table and output it in a register page but how do i populate one of the columns in my HTML table with the pictures stored in the db? The Stock table has a PK which is stored in the File (pictures) table but I cant join the two via SQL as I will get 4 Stock records if there are 4 File Rows with the connecting FK value.
Its easy to do in Cold Fusion but I cant get it to work in ASP.
Thanks for any help!
I have a table with stock and another table with pictures of the stock. I can loop through the stock table and output it in a register page but how do i populate one of the columns in my HTML table with the pictures stored in the db? The Stock table has a PK which is stored in the File (pictures) table but I cant join the two via SQL as I will get 4 Stock records if there are 4 File Rows with the connecting FK value.
Its easy to do in Cold Fusion but I cant get it to work in ASP.
Thanks for any help!