i cant edit my post thats why i am posting it here, the reason you have to run delete query first cause, if you remember last time we run the insert query to populate the data, after running delet query just delete the whole thing and paste the second code from the above post. thanks

Hey Arif,i have use your above code one with deleting to prevent image twice and other with inserting all.And when i try to fetch all image in one go i am able to fetch only two.So what i should do now?Any suggestion.For fetching i used the previous code you provided but it think error in this only.What you say???