arul

arul

  • NA
  • 26
  • 0

Add image template column in asp.net 2.0 gridview control.

Aug 13 2008 6:28 AM

i need to add image template column in my asp.net 2.0 gridview control.

this is my code

  for (int i = 0; i < arrTemplateDataList.Count; i++)
                    {
                        if (!colStrGetinputPCData.Contains(arrTemplateDataList[i].ToString()))
                        {
                            colStrComplianceSW.Add(arrTemplateDataList[i].ToString());
                        }
                        GridComplianceSW.DataSource = colStrComplianceSW;
                        GridComplianceSW.DataBind();
                    }

IF condition is satiesfied i need to add one image else add another image ..can  you please help me...

thanks in advance..


Answers (2)