J
jjd
Hi All,
Hope someone can help me or guide me in the right direction.
I will received random excel files from a user that I want to copy and
rename as "backup of...". I then want to take the original file, delete
it and create a new blank copy of the file with the same structure as
the "backup of..." file with 2 to 3 additional columns.
I will then use DataReader to read the data from the "backup of..."
file, as the file may be to big to use DataSet, and "INSERT" the data
using ADO with the additional data to occupy the new additional
columns.
I am able to open the file "backup of..." file and get the table
structure from GetSchemaTable but I am unable to create the structure
string to "CREATE" the new blank excel file.
My question is how do I create the new structure string for the blank
excel file with the same using only ADO? I cannot guarantee that excel
is installed on the PC running the program so this is the reason that
ADO is the prefered option.
Any help would be greatly appreciated.
Hope someone can help me or guide me in the right direction.
I will received random excel files from a user that I want to copy and
rename as "backup of...". I then want to take the original file, delete
it and create a new blank copy of the file with the same structure as
the "backup of..." file with 2 to 3 additional columns.
I will then use DataReader to read the data from the "backup of..."
file, as the file may be to big to use DataSet, and "INSERT" the data
using ADO with the additional data to occupy the new additional
columns.
I am able to open the file "backup of..." file and get the table
structure from GetSchemaTable but I am unable to create the structure
string to "CREATE" the new blank excel file.
My question is how do I create the new structure string for the blank
excel file with the same using only ADO? I cannot guarantee that excel
is installed on the PC running the program so this is the reason that
ADO is the prefered option.
Any help would be greatly appreciated.