Hi Guys,
I have a Sales.csv file that is sitting in the C drive I want to zip it in C# code this is the code that I used but it is not ziping the Sales.csv file.
Please help!!!
Many thanks,
I have a Sales.csv file that is sitting in the C drive I want to zip it in C# code this is the code that I used but it is not ziping the Sales.csv file.
Please help!!!
Code:
ProcessStartInfo ps = new ProcessStartInfo();
ps.UseShellExecute = true;
ps.Arguments = @"C:\Sales" + dr["dbkey"].ToString() + ".csv";
ps.FileName = "C:\\Program Files\\WinZip\\WZZIP.EXE";
Process p = Process.Start(ps);
p.WaitForExit();
Comment