Load images from database
I want to load images into picture box from datafields (binary data). Is it possible to connect pocturebox into field?
If no, i need to do it manually.
So my plan is, that into every pictureBox property with name TAG i will put name of field.
Than I will in C# code in myproject (no in report) will manually load images from binarydata (byte[]) field into images in report.
But i have trouble to get list of picture boxes on report from C# code.
I was found a Report.FindObject() but if I dont know name?
How can I get a list of all controls on report please?
If I can do that, so I can go one by one and check, if its picture box, than i can check his TAG and than i can load binary data whatI need (if I know tag name).
Thanks.
If no, i need to do it manually.
So my plan is, that into every pictureBox property with name TAG i will put name of field.
Than I will in C# code in myproject (no in report) will manually load images from binarydata (byte[]) field into images in report.
But i have trouble to get list of picture boxes on report from C# code.
I was found a Report.FindObject() but if I dont know name?
How can I get a list of all controls on report please?
If I can do that, so I can go one by one and check, if its picture box, than i can check his TAG and than i can load binary data whatI need (if I know tag name).
Thanks.
Comments