Hello, I have a table coming from the database, with several rows and columns. One of these columns is stored the address of the previously saved image. Now I need to go through all the PictureBox and put in the ImageLocation the address of those image. Ah yes! Before I forget I have 10 PictureBox in form. I'm using the following code:
foreach (Control item in this.Controls)
{
if (item is PictureBox)
{
item.Name.ToString();//Até aqui tudo certo, consigo ver nome dele, mas preciso pegar nome e a propriedade ImageLocation
}
Does anyone have an idea?