Latest posts on tagged on "ASP-NET"

How to change datetimeoffset to datetime c# ?

22 November 2017

In this tutorial I will show you how to convert datetimeoffset to datetime using c#. Here, I want to save the datetime object value into the database. But the datetimeoffset was returning string value. In order to convert string (datetimeoffset) to datetime you may follow this way,

HTTP Error 401.0 – Unauthorized- asp.net application

15 October 2017

I got this above error while running asp.net web application using mvc 5. Previously, everything was fine. In my trader application, when I click the home icon it is redirecting to the home page.

DisplayFor date format mvc 5

5 October 2017

I want to display the date in the view, but the resulted Date Format is 05/10/2017 12:00:00AM. But I wanted to display like 05-Oct-2017. Before I tried to display using DisplayFor, but it was not suited to display the date format.

Page 1 of 23