I have a folder with 13000 .jpg images - I need to loop through these images and write a value back to my database.

For Example image 12345.jpg would match my "ProductID" field in my Product table.

In a nutshell read image 12345.jpg - locate ProductID "12345" and mark the "HasImage" field "Yes"

Any help would be wonderful!

Thanks!

Anjari