the important thing here,is to export a datalist which contains a composite controls like a datagrid inside a datalist this code will not work,simply to solve the problem,comment this line of code in export function :

//this.ClearControls(DataGridView);

then simply all child controls in the datalist will be export to Excel.........