May 04, 2010, 7:08 AM
I need to display attachement icon on a row if a value is true. I am using ArrayReader, the field in the store for attachement is marked either true or false and i want to show attachement icon if the value is true. Please help me out
object[] inBoxData = new object[PAGESIZE];
for (int i = 0; i < PAGESIZE; i++)
{
inBoxData[i] = new object[] {MessageList[i].HasAttachement, MessageList[i].From,MessageList[i].To, MessageList[i].Subject,.MessageList[i].Date.Date };
}
this.CenterGridStore.DataSource = inBoxData;
this.CenterGridStore.DataBind();
MessageList[i].HasAttachement is boolean value and based on its true value i need to show attachement icon in first column of my gridpanel