Aspose.Cells.Examples.CSharp.Files.Handling.SaveXLSFile.Run C# (CSharp) Method

Run() public static method

public static Run ( ) : void
return void
        public static void Run()
        {
            // ExStart:1
            // The path to the documents directory.
            string dataDir = RunExamples.GetDataDir(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType);
            HttpResponse Respose = null;
            // Load your source workbook
            Workbook workbook = new Workbook();
            if (Respose != null)
            {
                // Save in Excel2007 xlsx format
                workbook.Save(Respose, dataDir + "output.xls", ContentDisposition.Inline, new XlsSaveOptions());
            }
            // ExEnd:1
        }
    }
SaveXLSFile