Latest posts on tagged on "ASP-NET"

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.

Load html page in ASP.NET MVC view

24 June 2016

In this example, I will show you how to load an html page in asp.net MVC view. You can call an html page from your view using Html.Action helper method.

Xml dropdownlist bind in asp.net?

22 June 2016

In this example, I will show you to bind dropdownlist with an xml file using ReadXml() method. In order to read data from cities.xml file into a dataset from the specified path using Server.MapPath.