5
Answers

Date format issue in RDLC

Devendra Kumar

Devendra Kumar

5y
2.1k
1
Hello everyone
I had created a report in using RDLC report. The report showing correct date format according to my system configuration i.e dd/MM/yyyy but when I export it to PDF, the format is changed to MM/dd/yyyy.
 
Image of date format at report 
 
 
Image of date format when exported to PDF
 
 
How to solve that. I didn't changed the format anywhere else
 
Thanks
Devendra 
Answers (5)
0
Nitin Sontakke

Nitin Sontakke

137 13.6k 15.2k 8y
Just make sure you are properly disposing all the resources consumed by you. Especially like Excel instances, sql server connections, files opened, etc. These resources are outside the area of garbage collection so it doesn't touch them.
So you should take care to dispose them manually.
If possible try to use using(....) clause as much as you can.