GridView, replace text by image in column if columns text contains %text%
<p>i have a page with gridview tables that returns the following columns from an SQL DB</p>

<blockquote>
  <p>Device            |       Message                    |</p>
  
  <hr>
  
  <p>Server1          |     This error is ping failure from server1</p>
  
  <p>Server2          |     This error is DFS  Backlog failure from server2
  to server5</p>
</blockquote>

<p>Is there  a way that i can replace the message for a picture?</p>

<p>I want to look in the column and if error message text contains %ping% then show ping.png image and if error message contains %DFS% replace text to dfs.png image</p>

<p>Can someone point me in the right direction?</p>

<p>Thanks</p>
