s = Server.MapPath(dr.Item(i).ToString) s = s.Replace("/", "\") htmlWrite.AddAttribute(HtmlTextWriterAttribute.Style, "Width:50px;Height:50; ") htmlWrite.RenderBeginTag(HtmlTextWriterTag.Td) htmlWrite.Write("<div><img src='" & s & "' alt='Smiley face' height='50' width='50' align='middle' style='padding: 2cm 2cm 2cm 2cm;' > </img></div> ")
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)