UrbanPro
true

Learn .NET MVC from the Best Tutors

  • Affordable fees
  • 1-1 or Group class
  • Flexible Timings
  • Verified Tutors

Search in

Format Date to “MM/dd/yyyy” in Webgrid ASP.Net MVC Razor View

M
Mohammad Shafi
18/10/2016 0 0

Replace above line with below to apply ("DD/mm/yyyy") formatting to date field in WebGrid

 AllTicket.Column(columnName: "DueDate", header: "Due Date")  

 

 grid.Column("Date",format:@<text> @item.Date.ToString("MM/dd/yyyy")</text>)
0 Dislike
Follow 0

Please Enter a comment

Submit

Other Lessons for You

Working with Delegates & Events in .NET
Events & Delegates A delegate is a reference type derived from the System.Delegate class which can be used to call methods of same matching signature.As you all know signature of a method is defined...

ASP.net MVC 5
ASP.NET MVC It’s a part of ASP.NET and provides an alternative to ASP.NET webforms. You can even mix webforms and MVC. Basic concepts like state management are still the same. Thus, if you have...

Multi-core CPU utilization using Task Parallel Library in c#
Nowadays, we are using multiple core systems. We must write our .NET applications in such a way that we must utilise the complete computing power of the machine. The parallel task library(TPL) allows...

Clear boostrap modal on hide or close
When I am working with MVC project I had a requirement like to clear all the errors and text entered inside a bootstrap modal. So that when I opened the modal again I could see a plain binding. $("#myModal").on("hidden.bs.modal",...

Software Development Training In Jaipur
Satyam Web Solution provides website designing &development and software designing &development training in Jaipur for various stream’s students. MCA 6 month Industrial Training/Internship B....
X

Looking for .NET MVC Classes?

The best tutors for .NET MVC Classes are on UrbanPro

  • Select the best Tutor
  • Book & Attend a Free Demo
  • Pay and start Learning

Learn .NET MVC with the Best Tutors

The best Tutors for .NET MVC Classes are on UrbanPro

This website uses cookies

We use cookies to improve user experience. Choose what cookies you allow us to use. You can read more about our Cookie Policy in our Privacy Policy

Accept All
Decline All

UrbanPro.com is India's largest network of most trusted tutors and institutes. Over 55 lakh students rely on UrbanPro.com, to fulfill their learning requirements across 1,000+ categories. Using UrbanPro.com, parents, and students can compare multiple Tutors and Institutes and choose the one that best suits their requirements. More than 7.5 lakh verified Tutors and Institutes are helping millions of students every day and growing their tutoring business on UrbanPro.com. Whether you are looking for a tutor to learn mathematics, a German language trainer to brush up your German language skills or an institute to upgrade your IT skills, we have got the best selection of Tutors and Training Institutes for you. Read more