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.
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.
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.