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