Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have been facing problem while upload data from excel file to datagrid view.
Excel contain column's as

name
contact no
address
father's name
from place
to place
time
date
when ever data get load in datagrid view the time column shows data like "30-12-1899 PM 12:20:00"

but actual data is PM 12:20:00 and i dont why this date "30-12-1899" is came up time????

Help me how to sort out this problem???
Posted
Comments
Sandeep Mewara 1-May-13 1:36am    
Please don't repost it in a span of 5min. It is considered rude.
Stick to one and have patience: http://www.codeproject.com/Questions/586010/facingplusprob-pluswhileplusuploadplusdataplusfrom
ashu_dhiman 1-May-13 1:49am    
sir i have been looking for urgent help so i also post it here this is the only reson.
Sandeep Mewara 1-May-13 3:47am    
It's ok to post. I am just asking to avoid posting multiple times. Thanks.

1 solution

Change time date column formats in excell

Examble
 
Share this answer
 
Comments
ashu_dhiman 1-May-13 3:15am    
i already did that but still getting same
KM Perumal 1-May-13 3:19am    
Make that column as TEXT

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