This sounds like a stupid question but this code is not working for me. No exception either. I've office 2007.
Infragistics.Excel.Workbook wb = new Infragistics.Excel.Workbook(Infragistics.Excel.WorkbookPaletteMode.StandardPalette);ultraGridExcelExporter1.Export(this.ultraGrid1, wb, 0, 0);
I tried with ultraGridExcelExporter1.Export(this.ultraGrid1) and it didnt work either.
Please let me know if I am missing anything.
ThanksSreekanth
Then you have to save the workbook to a file and then launch it. I beleive the WorkBook has a Save method that takes a file name. And you can use System.Debug.Process.Start(fileName) to launch the file in Excel.
Hi Sreekanth,
What exactly isn't working about it? This code will not have any visible effect. What is wrong with it if there's no exception? How do you know it's not working?