We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

opening the excel file after the data is imported from the grid

Thread ID:

Created:

Updated:

Platform:

Replies:

40847 Feb 15,2006 02:50 AM Feb 16,2006 12:08 AM Windows Forms 2
loading
Tags: GridControl
Shwetha R
Asked On February 15, 2006 02:50 AM

hi, i am using Syncfusion 3.0.1.0 i am able to export the data from a normal gridcontrol to an excelfile. i want this excelfile to open as soon as the data is written to it. how do i do it? thanks & regards shwetha

Administrator [Syncfusion]
Replied On February 15, 2006 04:24 PM

Hi Shwetha, The excel file can be opened by starting a local system process. Here is a code snippet. System.Diagnostics.Process proc = new System.Diagnostics.Process(); proc.StartInfo.FileName = @"C:\MyExcel.xls"; //file path proc.Start(); Regards, Calvin.

Shwetha R
Replied On February 16, 2006 12:08 AM

hi calvin, Thanks for the response. It works. Is there anyother way of opening the excel file in dotnet other than starting a process? thanks & regards shwetha

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;