?
Solved

date time format 'MM/YYYY' for Infragistics Ultratime editor

Posted on 2011-02-28
1
Medium Priority
?
2,126 Views
Last Modified: 2012-05-11
I have to read a value of  Expiration date which is an infragistics ultra datetime editor from database using business objects.
The date should be shown as 'MM/YYYY 'format .
What changes should I make to  my code??I want to change in the .NET code instead of change in database.

Thanks,


If Not _CreditCard.ExpirationDate.Equals(String.Empty) Then
 dtExpirationDate.DateTime = CType(_CreditCard.ExpirationDate, Date)
        End If

Open in new window

0
Comment
Question by:onebite2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 20

Accepted Solution

by:
hes earned 2000 total points
ID: 34998851
Try

dtExpirationDate.DateTime = Format(_CreditCard.ExpirationDate,"MM/yyyy")

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s quite interesting for me as I worked with Excel using vb.net for some time. Here are some topics which I know want to share with others whom this might help. First of all if you are working with Excel then you need to Download the Following …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

752 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question