Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# WinForm
I have been facing problem while upload data from excel file to datagrid view.
Excel contain column's as
contact no
father's name
from place
to place
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 30-Apr-13 20:13pm
Sandeep Mewara at 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:
ashu_dhiman at 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 at 1-May-13 3:47am
It's ok to post. I am just asking to avoid posting multiple times. Thanks.

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Change time date column formats in excell
ashu_dhiman at 1-May-13 3:15am
i already did that but still getting same
KM Perumal at 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)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 9,535
1 OriginalGriff 8,295
2 Peter Leow 4,839
3 Kornfeld Eliyahu Peter 3,210
4 Maciej Los 2,301

Advertise | Privacy | Mobile
Web04 | 2.8.150327.1 | Last Updated 1 May 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100