4
Answers

Zip and Unzip file in c#

Photo of kalu singh rao

kalu singh rao

10y
1.3k
1
I have a test.xml file and want to convert into zip format and after again unzip file in c#. I have not got any good code that is simple and easy way to learn.
 
 
Thank you in Advance.

Answers (4)

0
Photo of Gajendra Jangid
25 41.2k 2.3m 3y
try like this
  1. if (Page.PreviousPage != null)  
  2.                     {  
  3.                         HiddenField MyHiddenValue = (HiddenField)Page.PreviousPage.FindControl("id");  
  4.                         if (MyHiddenValue != null)  
  5.                         {  
  6.                             string val= MyHiddenValue.Value;  
  7.                         }  
  8.                     }