|
-
Jan 13th, 2007, 12:11 PM
#1
Thread Starter
Member
Datagrid Itemtemplate date US and Europe format
I am looking for a condition under itemtemplate column to send the date format:
I want to pass this"dd/mm/yyyy" or "mm/dd/yyyy" value via
session("datelocale")
*****************************************************
<ItemTemplate>
<%# trim(DataBinder.Eval(Container.DataItem,"eventdate","{0:MM/dd/yyyy}")) %>
</ItemTemplate>
*****************************************************
Thank you very much for the information.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|