Rupesh Zambare

Rupesh Zambare

  • NA
  • 32
  • 5.4k

how to use img src attribute using datatable variable value

Aug 18 2017 3:43 AM
<img src=" '"' + [DOCLOC] + '"' " alt="" style="width: 155px;"/>
 
if (loop == 4)
{
contents = contents.Replace("[doc5]", dr["DocumentType"].ToString());
contents = contents.Replace("[uploadstatus5]", dr["DocumentType"].ToString() == "" ? "" : "Yes");
contents = contents.Replace("[DOCLOC]", dr["DocumentLocation"].ToString());
//contents = dr["DocumentLocation"].ToString();
//loop++;
}
 

Answers (1)