A
Anton Sommer
Hello folks,
I am importing excel file Data into .NET, and it works fine for one
exception.
My connection string:
..Connection = "provider=microsoft.jet.oledb.4.0;"
..ConnectionString += "data source=" & strTextPath & ";"
..ConnectionString += "Extended Properties = ""Excel 8.0;IMEX=1;HDR=no"";"
My excel file (its structure is 100% known) contains as well a few columns
with date values. Some of those columns import as I expect a date value to
import i.e. "14.7.1988" (as a string) but others import as a number like
"38072" or "38072,600694" what is that number? Can I convert to a date as
well? I can't tell what is the difference between those excel files that
work and those that don't work.
Any suggestions
Anton
I am importing excel file Data into .NET, and it works fine for one
exception.
My connection string:
..Connection = "provider=microsoft.jet.oledb.4.0;"
..ConnectionString += "data source=" & strTextPath & ";"
..ConnectionString += "Extended Properties = ""Excel 8.0;IMEX=1;HDR=no"";"
My excel file (its structure is 100% known) contains as well a few columns
with date values. Some of those columns import as I expect a date value to
import i.e. "14.7.1988" (as a string) but others import as a number like
"38072" or "38072,600694" what is that number? Can I convert to a date as
well? I can't tell what is the difference between those excel files that
work and those that don't work.
Any suggestions
Anton