I want to display an image in a picture box which I have saved in my solution folder.
Is there an easy way for this to be done? I have seen examples of loading from resources using streams etc. But that seems far too much code for what I'm trying to do.
if (ds.Tables[0].Rows[0]["GDPRState"].ToString() == "1")
{
picture_GDPR.Image = Image.FromFile("");
}
Do I want to be using the FromFile function to achieve this?