foreach (MyClassObject q in qList) { if (q.IsImage){ gridMC.Rows[c].Cells[1].Value = q.ImageValue; // Image Object }else{ gridMC.Rows[c].Cells[1].Value = q.TextValue; } } //gridMC is my GridView
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)