Click here to Skip to main content
15,797,984 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to change date format in Crystal report by using VB.Net (do not change in Crystal report).
Pls help me!

1 solution

I am not finding any single reason to achieve it that way. The main purpose it to display in a report and I think Crystal Report inbuilt facility is enough for accomplishing that, See HERE[^].

Why on a earth you want to format it at and further providing to report and display by report again.

If you want to go with kind of the thing anyway then you should convert datetime in a format you want using DateTime.ToString("MM-dd-yyyy") Method and provide as a String to Crystal report. But Still I am not considering it as a good practice.

You should clarify your question little bit more in details so that intention can be cleared.
Share this answer
Dalek Dave 11-Jan-11 6:09am    
Good Answer.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900