Hi All ,
I am exporting data from xml to excel sheet using datasets in c#.
While exporting i want to add colours to some cells and also to merge cells.
Please suggest me.
Formatting cells in excel when exporting data to excel
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

husein Shaikh18 pointsPosted Aug 16, 2012, 3:32 AM EDT
create runtime gridview assign the datatable to gridview as its source and bind it , and generate its rowdatabound event and give all the formating u want and then export the gridview to excel its will work fine...