i have a listbox with images. I want know about number of times the same added to the listbox. Any solutions for that. plz tell me
Thanks in advance
i have a listbox with images. I want know about number of times the same added to the listbox. Any solutions for that. plz tell me
Thanks in advance
If you want to check that the image itself, regardless of the file name, is not repeated then generate an MD5 checksum for the image data and store that.
If you want to make sure that the two are always linked then either tag it onto the end of the file or create a class which holds the image and the checksum together.
The MD5 check can be used to differentiate any data file, even different versions of the same file if the content is in anyway different.