Thursday, 5 September 2013

Date and time format set in gridview asp.net Temlate fields

time- <%# Eval("getdate()", "{0:hh:mm:ss tt}")%>
date-<%# Eval("getdate()", "{0:dd/MM/yyyy}")%>

No comments:

Post a Comment

How to highlight selected text in notepad++

  –> To highlight a block of code in Notepad++, please do the following steps step-1  :- Select the required text. step-2  :- Right click...