Hi all, I'm trying to import my xls files to sql server, but i saw some values become null even though data in excel values are existed.
below is my connection string :
i have searched many references about this topic, still no solution.
I changed the registry editor HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel
and set the TypeGuessRows become "0", still not give impact to my application.
This error occurs while i'm importing the alphanumeric values into text, but previous values are numeric (but string datatyped).
Any help appreciated!!
THanks in advance
below is my connection string :
VB.NET:
Dim cnstr As String = "Provider=Microsoft.Jet.OLEDB.4.0;" & _
"Data Source=" & txtfName.Text & ";" & _
"Extended Properties =""Excel 8.0;HDR=YES;IMEX=1"""
I changed the registry editor HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Jet\4.0\Engines\Excel
and set the TypeGuessRows become "0", still not give impact to my application.
This error occurs while i'm importing the alphanumeric values into text, but previous values are numeric (but string datatyped).
Any help appreciated!!
THanks in advance