The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
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
ADAdministrator Syncfusion Team February 15, 2006 09:24 PM UTC
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.
SRShwetha RFebruary 16, 2006 05:08 AM UTC
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