C
Computer Guru
Hi,
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?
Pardon the unclear/verbose subject, I just can't think of another way
of phrasing it.
Basically, I can assign the (for instance) "Location" property of a
picture box to a data-bound item. Like, I can get the absoloute
location from an ADO.NET database, and assign it to the
PictureBox.Location property.
But what I want to do is assign MyClass.GetImage(DATABOUND_PARAMETER)
to the PictureBox.Location property.
For instance, I get the value "myimage.jpg" from the database. Now I
need to send the text "myimage.jpg" to a function and then assign the
*output of the function* to the PictureBox.Location property.
Via the DataBinding property I can tie the "Location" property of the
PictureBox to the datasource, but I can't seem to get it to send that
value to a function and use the output as the location property.
Any ideas?
