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++;
}