string path = @"D:\" + filename + DateTime.Now.ConvertDateToYYYYMMDD() +".xls"; Stream stream = File.Create(path); pck.SaveAs(stream); stream.Close();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)