KWRandolph
Member
- Joined
- Mar 14, 2010
- Messages
- 6
- Programming Experience
- 10+
Hello,
I am using the BindingNavigator to allow a person to move through the records coming back from my database.
The values in the database are for books. I use the ISBN value as part of a image name that will be displayed in a picturebox.
For instance, the ISBN for one of the books is '0735615500'.
I want the picturebox that is in the group to use the ISBN for the image name, so it would be '0735615500.jpg'
As such, I want to concatenate 0735615500 and .jpg so that as the forward/backward buttons are clicked and the record changes, the image for the book changes as well.
What is the best way to go about this?
If I have to, I can put the image name itself in the database, but it seems redundant to do so, when the ISBN that the image name is based on is already there.
Here is a link to the layout of the form. http://i832.photobucket.com/albums/zz248/kevinwrandolph/bookformsample1.gif
Here is a link to the form after it is executed. http://i832.photobucket.com/albums/zz248/kevinwrandolph/bookformsample2.gif
Best regards,
Kevin Randolph
I am using the BindingNavigator to allow a person to move through the records coming back from my database.
The values in the database are for books. I use the ISBN value as part of a image name that will be displayed in a picturebox.
For instance, the ISBN for one of the books is '0735615500'.
I want the picturebox that is in the group to use the ISBN for the image name, so it would be '0735615500.jpg'
As such, I want to concatenate 0735615500 and .jpg so that as the forward/backward buttons are clicked and the record changes, the image for the book changes as well.
What is the best way to go about this?
If I have to, I can put the image name itself in the database, but it seems redundant to do so, when the ISBN that the image name is based on is already there.
Here is a link to the layout of the form. http://i832.photobucket.com/albums/zz248/kevinwrandolph/bookformsample1.gif
Here is a link to the form after it is executed. http://i832.photobucket.com/albums/zz248/kevinwrandolph/bookformsample2.gif
Best regards,
Kevin Randolph