I'd like to say I've spotted an error, but no sorry I can't see what the problem is. I compared your code with the grey code block and its explanation below on p242 of the book, and checked the errata.
The problem I had with that exercise is that I could only display one image regardless of the settings of the Repeat... attributes. I found that there was only a single entry in the Gallery table!
Richard
Rugeley, UK
WinXP Pro SP2
VBW Express + SQL Server 2005 Express
|