Quantcast
Channel: Oracle, MySQL, Sybase, Informix and other databases
Viewing all articles
Browse latest Browse all 1350

Importing data from an Excel File and using columnMapping

$
0
0

When importing data from an Excel File and using columnMapping the 00s get dropped

Example
DriverID = 1.00. It is being imported into a varchar 200 field

All fields come in correctly except 1.00 now show as 1. The 00s get dropped

sqCopy.ColumnMappings.Add("DriverID", "DriverID")


Viewing all articles
Browse latest Browse all 1350

Trending Articles