D
Darwin S.
I am writing an application that will allow users to
merge data from an Excel worksheet into an existing
database. I don't know before hand what the name of the
xls file will be nor what how many worksheets there will
be nor what the name of the worksheets will be so I am
having difficulty building the SelectCommand sql
statement without knowing the worksheet names. I have
not been able to determine how to get the OdbcDataAdapter
to tell me what worksheet names are in the worksheet so
that I can build the select command. Maybe there is an
easier way. I would appreciate any help.
TIA,
Darwin
merge data from an Excel worksheet into an existing
database. I don't know before hand what the name of the
xls file will be nor what how many worksheets there will
be nor what the name of the worksheets will be so I am
having difficulty building the SelectCommand sql
statement without knowing the worksheet names. I have
not been able to determine how to get the OdbcDataAdapter
to tell me what worksheet names are in the worksheet so
that I can build the select command. Maybe there is an
easier way. I would appreciate any help.
TIA,
Darwin