skip to main
|
skip to sidebar
Computer News
Pages
Beranda
Sunday, May 25, 2014
How to give custom Date format for null type
Say you have
model
like below.
Model
public
DateTime
?
date { get; set; }
Then you can use ur
View
as below.
View
<%:
date.HasValue
?
date.Value.ToString("yyyy-MM-dd hh:mm:ss")
:
"[N/A]"
%>
Related Posts by Categories
0 comments:
Post a Comment
Newer Post
Older Post
Home
Popular Posts
Using a webcam with the Raspberry Pi
There is a lot of recent motivation to do image processing and computer vision tasks on the Raspberry Pi. Luckily OpenCv is already built on...
Camera Pixel 2 Apk Android 7.0
Pixel 2 launcher apk with google now. thanks to xda senior member paphonb to build this pixel 2 la...
PowerShell v3 Creating Subfolders with Controlled File Folder Counts
Lately I have been doing a lot of basic data manipulation tasks. Basic stuff, but, it has given me a chance to perfect some of my tasks. Thi...
PowerShell v3 Check File Headers
The following function is a very quick way to validate a set of file signatures. The files were provided to us in a project with a single, i...
Western Digital Introduces My Passport Essential Colors
Just in time to make a perfect gift for Mother’s Day, Western Digital today introduced 10 fresh new colors for its My Passport Essential Por...
How to hack BIOS password in Desktop and Laptop
The following steps to hack BIOS password work absolutely fine for a Desktop and are the easiest of all. Steps: Shut down the computer and t...
Windows Server 2008 The Definitive Guide Ebook
This practical guide has exactly what you need to work with Windows Server 2008. Inside, youll find step-by-step procedures for using all of...
How To Fix Laptop Keyboard Ghosting
Is there any simple fix to a keyboard ghosting? this is a discussion on is there any simple fix to...
Unity 3D 2D Games Development Tutorial from Beginners BY GameGeek
Unity 3D & 2D Games Development Tutorial from Beginners. Learn To Code by Making Games : Complete Unity 5 Developer http://bit.ly/1N8Jxk...
PowerShell v2 Import Module Importing Multiple Modules
To solve some scripting issues I have been working with the Import-Module cmdlet a little more this morning. As the help says, Get-Help Imp...
Blog Archive
►
2019
(88)
►
January
(88)
►
2018
(760)
►
December
(181)
►
November
(151)
►
May
(21)
►
April
(112)
►
March
(104)
►
February
(82)
►
January
(109)
►
2017
(908)
►
December
(76)
►
November
(99)
►
October
(102)
►
September
(173)
►
August
(140)
►
July
(91)
►
June
(86)
►
May
(80)
►
April
(9)
►
January
(52)
►
2016
(908)
►
December
(79)
►
November
(95)
►
October
(83)
►
September
(103)
►
August
(70)
►
July
(88)
►
June
(72)
►
May
(78)
►
April
(70)
►
March
(76)
►
February
(88)
►
January
(6)
▼
2014
(118)
►
July
(95)
▼
May
(23)
Philips SVC1116F 27 LCD LED and Plasma Screen Cleaner
Tech I need it
Baseball Outfielders Crow Hop
RECHARGEABLE PORTABLE SPEAKER LAPTOP APPLE
MATX ASUS ROG Rampage II Gene
How to give custom Date format for null type
Portable computer Who exactly advertises the parti...
iZKA Portable Speakers Generations Devices
Advanced Features Of Pro Desks Navigator Car Compu...
Personal pc Reduced Acer Veriton Desktop Computer ...
A Foot Controlled Mouse Offers Benefits
Multi Leaders
Computers for Windows 7
Selecting A Pair Of Efficient Wireless Speakers
Portable computer Low cost Dell Computer 469 4104 ...
Step By Step guide to Read XML file in Java Using ...
How to use Software Updater in avast
The Benefits Of Houston Massage Therapy
ACER DESKTOP RECHARGEABLE PORTABLE SPEAKER
Sony Gives Up On The PC Market
Age of Conan Sells Over 400 000 Copies One of the ...
Autodesk Labs Role Guest Post by Scott Sheppard
Meet Again With Your Past Thanks To Cell Number Se...
Powered by
Blogger
.
0 comments:
Post a Comment