MVC3 Archives - Page 3 of 3 - All Things DotNetAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

MVC3 Category

October 22 , 2012 | | In: MVC3

2 Different Ways to Format an MVC Date

In your MVC models, if you have a date property which is populated from the database with Date and Time, it’s very easy to format the output so that it’s just the date (toShortString()). However, there are two ways to do this, using Display/Edit Annotations.

October 19 , 2012 | | In: MVC3

Create an Alias for your Action Methods

Let’s say you have an Action method named ‘Edit’. public ActionResult Edit(int CustID) However you really don’t like the word ‘Edit’ for some reason. there is a very easy way to create an Alias for your Action method to be used in place of the one already there.

October 17 , 2012 | | In: MVC3

MVC3 – Decimal Format in Display AND Edit

During my MVC learning process, my first app started with a basic display form – the data received from the database was in decimal format. So my first stumbling block was figuring out how to make it display as a decimal on screen. The second stumbling block was making it display as a decimal in […]



All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF


If you find this site helpful,
please donate to help keep it online and free





Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter


Test - The Name: 6936