Latest posts on "c-net"

How to get name of image using url in asp.net c#?

21 December 2016

In this article, I will show you how to get name of the image from the url path in asp.net. I am going to get name form the following URL path..,

Data annotation maxlength attribute (c# example)

19 October 2016

In this example, I will show you to apply maxLength attribute to a string property in a class. You can set the maximum value for the property using data annotation validation property maxLength attribute.

insert update delete in gridview in asp.net with c#

3 October 2016

In this article, I will show to how to insert, update, delete in gridview in asp.net with c# code. First step you should create an xml file with column fields and save it as mytask.xml.

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.

Page 4 of 14