Latest posts on "c-net"

How to generate random color codes in c# .net?

26 August 2016

In this article I will show you to generate random color codes in c# .net implemented to display data with different color variation for chart.

Chart control in windows application c# .net

25 August 2016

In this article I will explain with an example how to populate a chart control from sql server database using entity framework.

Delete file from the server using asp.net c#

25 July 2016

You should make sure that the file path passing to delete from the server in asp.net c#. This following code is to delete the record from database and also from the folder path of the server.

Assign values to enum and how to get value from enum?

11 July 2016

You can assign any values to the element of enumeration List. In this example, I will show to how to assign values and datatype and get integer value from enum.

Get you domain name from URL

9 July 2016

It can be achieved by two methods, getting the domain hosted name using URL request Request.Url.Host and another by Uri.

Page 6 of 13