Latest posts on "c-net"

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.

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 .

Page 3 of 13