I have a grid-view in which based on certain value from my database query, I want to display different kind of control under Score1 and Score2 columns. This can range anything between check mark, label, text box, simple value or hyperlink.
My use case is as follow: if score1 value is empty/NULL, display text box, if it is not then display a link, otherwise display some other controls ect.... so on the column score 1 , i may have a text box on one row, a link on another row.

I've tried to add TemplateField/Itemplate in the behind code to dynamically add the columns score1 and score2. However, I can only do this at Page_Load() and the column can only contain one control. Any pointer on how I should approach this?