Click here to Skip to main content
15,919,245 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi developers,

I am Vishal Sharma
I'm loading a csv file into dataset and view them in datagridview.
My problem is that in the csv file, the datacolumn with the name "First_date" has the format: 30.09.10 20:04:00

and I want to change the date format into 30/09/2010 20:04:00

I have no knowledge if more columns contain this type of date format.
I want to set a default date format for dataset or datagridview,
and when a file is loaded, the date format will automatically be changed

Please solve my problem immediatly.
Posted
Updated 11-Nov-10 23:01pm
v3
Comments
JF2015 12-Nov-10 4:58am    
Edited: Try to use proper english - if you don't know how certain words are spelled - look them up. Otherwise your question is so hard to read that it's even harder to give you a proper answer. Another thing is: Nobody here is going to answer your question "Immediately" - we are all doing this in our own spare time - so please try to be less rude!

1 solution

Take a look at THIS[^] thread might be useful for you.
 
Share this 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