Click here to Skip to main content
15,850,750 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
I am working on an image processing project in VB.NET. In that, I can browse images from a folder and display them to a PictureBox. After that, I store those pictures to access from the database. I am using the DataGridView control.but during compilation,image did not displaying on the picture box.the picture box was invisible.it shows 'null exception handled'.what may be the coding do i want to give?
Posted
Updated 17-Mar-10 9:21am
v4

1 solution

Hi Randyson

For preventing the duplication have two columns (say OriginalFileName & GeneratedFileName) in the table (where you save the image information). When you upload the image change the image name to a guid (or any auto-generated Id) save this guid under GeneratedFileName Column & Original File Name under OriginalFileName Column.

Hope i have answered for your Question.

Thanks
Panneer Selvam J
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900