1
Answer

how to use img src attribute using datatable variable value

<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)