Latest posts on "c-net"

How to parse string to integer in c#?

3 October 2016

In this article, I will show to convert from string to int by parsing. Here I want to increment id field in xml for new entries. In XML, data fields are in a string so that I needed to convert it to int.

How to write a c# program to shutdown computer using asp.net?

30 September 2016

In this article I will show you to write a c# program to shutdown computer using asp.net. we have to include System.Diagnostics and use start process it forces to shut down the computer as parameters specified.

How to resize image in asp.net?

29 September 2016

In this article I will show you how to resize image in asp.net c#. the user selects the image using file upload control and compress and save it in a project specified folder.

ionic zip download in .Net c#

19 September 2016

If you want to manipulate the zip features like create,extract and update zip files in .Net. You can implement from the third party libraries DotNetZip .

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.

Page 4 of 13