ASPForums.Net RSS Feed additions to the content that appears on ASPForums.Net(c) 2019 All rights reserved.[Solved] Binary Images are not displaying in ASP.Net GridView<p>i was just making a mistak that in FindControl, i was using column "Data" instead of ID ("img") .</p> <pre class="brush: csharp">protected void gvDepartments_RowDataBound(object sender, GridViewRowEventArgs e) { try { if (e.Row.RowType == DataControlRowType.DataRow) { DataRowView dr = (DataRowView)e.Row.DataItem; string imageUrl = &#34;data:image/jpg;base64,&#34; + Convert.ToBase64String((byte[])dr[&#34;Data&#34;]); (e.Row.FindControl(&#34;img&#34;) as System.Web.UI.WebControls.Image).ImageUrl = imageUrl; } } catch (Exception ex) { } }</pre> <p>&nbsp;</p>, 01 Aug 2019 03:46:49 GMT