The problem is with the Format method placeholders ({0}, {1}). You have 6 parameters but numbered them as 0,1,2,3,4,6!!!
It should be from 0 to 5!!!
<table><thead><th rowspan="6" width="150px"><img runat="'Server'" src="<b>{6}</b>"></img></th></thead></table>