Put the html tags in the title property of the image tag (Text formatting in the image tag)
<pre><code>using (SqlConnection conn = DataAccess.GetConnected())
        {
            SqlCommand cmd = new SqlCommand("GetImageForSlider", conn);
            cmd.CommandType = CommandType.StoredProcedure;
            SqlDataReader sqr = cmd.ExecuteReader();
            while (sqr.Read())
            {
                string image_path = sqr.GetString(0);
                string description = sqr.GetString(1);
                string action = sqr.GetString(2);
                HtmlImage += "&lt;img src=\"" + image_path + "\" title=\"" + "&lt;h3&gt;" + description + action + "\".&lt;/h3&gt;&lt;p&gt;&lt;br&gt;&lt;/p&gt;&lt;ahref=http://www.giftotravels.com &gt;Thisislink&lt;/a&gt;" + "/&gt;";

            }
        }
</code></pre>

<p>i am trying to as above but this is not working properly
any one can help???</p>
