Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
248
Export To excel- Open excel file without actually saving it
posted

I am able to export grid data to excel but right now i am saving the file first and then opening the file using the code below.

 Dim FilePath As String

            FilePath = Environment.GetFolderPath(Environment.SpecialFolder.Desktop) & "\Report1_" & DateTime.Now.ToString("yyyymmddHHmmssff") & ".xls"

            UltraGridExcelExporter.Export(GrdInfraData, FilePath)

            Process.Start(FilePath)

But what i want is to open the excel file directly without saving it. How it can be done?
Thanks
Amit

Parents Reply Children
No Data