Export grid as xls

Hi all,
I tried to edit the code to force the excel generate as xls, however it does not work. please help

public string ContentType
{
get
{
//return “application/vnd.openxmlformats-officedocument.spreadsheetml.sheet”;
return “application/vnd.ms-excel”;
}
}

Hi all,
any update?