Latest posts on "c-net"

How to download file in asp.net using c#?

17 September 2016

In this article, I will show you how to download a file using asp.net c#. Based on the file extension you can set the content type value to be get downloaded.The Response.TransmitFile retrieves file by using file server path and writes to it response.

asp .net file upload example c#

16 September 2016

In this article, I will show you how to upload a file using file upload control in asp.net. Make sure you should give access permission for the drive (folder).

How to remove file extension using c#.net?

11 September 2016

In this article, I will show you how to remove the file extension and just display the file name using Path.GetFileNameWithoutExtension() method.

How to compress file c# .net?

10 September 2016

In this article, I will show you how to compress a file using System.IO.Compression namespace in c#.net.

Download div content on button click using javascript

7 September 2016

In this article, I will show you how to download div content using javascript on button click. To save the content of the div you need to trigger the click event and get downloaded from the innerHTML using elementId.

C# isnull or empty

7 September 2016

If you want to check the property value or string which is Null or not using the following code in c# .Net.

Page 4 of 13