Code snippet for decompressing file with GZipStream class in C# (Apply for .net 4.0). GZipStream class is for compressing and decompressing file(s) into gzip (read about gzip format on wikipedia) format which is based on based on the DEFLATE algorithm. So data is read in on a byte-by-byte basis, so you can not perform multiple passes to determine the best method for compressing entire files or large blocks of data.
following code is for decompressing or extract a file in c# :
Continue reading Decompress, Extract, Unzip file with GZipStream Class in C#
In this article we will discuss that how to import data from any excel file into datagridview control in c#.
– Start a new project in your visual studio in C#.
– Add reference of Microsoft ADO Ext. 2.8 from .net COM component. We will use this library to extract all Excel Sheet from Excel file. Continue reading Import data from excel to DataGridView in C#
Word document properties are the details which describe the identity of a word document. In this article we will discuss about how to read document properties of any word document in C#. Every word document has some inbuilt properties and custom properties such as Title, subject, category, Author and comments etc. In Ms-Word application, you can see or edit the document properties by opening Advance Document properties window just like if you are working on word 2010 you will see this like:
Continue reading Read inbuilt document properties of word document in C#