Hi i have a table tbl_part which includes an attribute imagelocation. this stores the path to where my image is stored.
i am pulling a dataset of this table, and want to display the image depending on what the path is
i have done this before in access, where i used this code
Me.Controls("imgPicture").Picture = rsImage.Fields("imageFileName")
imgPicture is the name of the empty picture on the form, imagefilename is the mapping name from the dataset
Can this still be done in .net, or is there a better way to perform this task?
Many thanks,
Alex
i am pulling a dataset of this table, and want to display the image depending on what the path is
i have done this before in access, where i used this code
Me.Controls("imgPicture").Picture = rsImage.Fields("imageFileName")
imgPicture is the name of the empty picture on the form, imagefilename is the mapping name from the dataset
Can this still be done in .net, or is there a better way to perform this task?
Many thanks,
Alex