J
JJDoherty
Hi All,
I've posted this before but unfortunately I have found a solution yet
so I am hoping that someone can help.
What I wish to do is take an excel file from an end user, copy and
rename it as "backup of...". Then I 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.
Next I want to 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
into the blank file using ADO along with additional data which will
occupy the new additional columns.
So how do I build the string I need to create the blank excel file
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. I would expect to use GetTableSchema or
similar and loop through this to get the field names, sizes and types
but is there something I am missing. I am using VB.Net for this as
well.
At this stage any help would be very, very muchly appreciated.
I've posted this before but unfortunately I have found a solution yet
so I am hoping that someone can help.
What I wish to do is take an excel file from an end user, copy and
rename it as "backup of...". Then I 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.
Next I want to 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
into the blank file using ADO along with additional data which will
occupy the new additional columns.
So how do I build the string I need to create the blank excel file
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. I would expect to use GetTableSchema or
similar and loop through this to get the field names, sizes and types
but is there something I am missing. I am using VB.Net for this as
well.
At this stage any help would be very, very muchly appreciated.