﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Convert a path of a image on db to a image</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 09:28:31 GMT</lastBuildDate><ttl>20</ttl><item><title>Convert a path of a image on db to a image</title><link>http://forum.strataframe.net/FindPost16552.aspx</link><description>What is the best way to show a image that I have to convert from a path on the db to a image on my UI? I think about a custom readonly property that read it, serialize it and show it, something like&lt;br&gt;
&lt;br&gt;
private _mycustomImage as image&lt;br&gt;
&lt;br&gt;
property mycustomimage&lt;br&gt;
get:&lt;br&gt;
     if _mycustomimage is nothing then&lt;br&gt;
           '-- read image from db and convert it to a image...&lt;br&gt;
          _mycustomImage = imagethatIgetfrompath&lt;br&gt;
     else&lt;br&gt;
endif&lt;br&gt;
end get&lt;br&gt;
  &lt;br&gt;
&lt;br&gt;</description><pubDate>Fri, 23 May 2008 10:24:03 GMT</pubDate><dc:creator>Fabian R Silva, -</dc:creator></item></channel></rss>