Dataset, SqlAdapter & Inserts

  • Thread starter Thread starter Ben Dill
  • Start date Start date
B

Ben Dill

I working in C# with the 1.1 version of the .Net framework. I have a text
file that is tab delimited that I am trying to insert into my sql server (MS
Sql server 2000).

I am able to use the ODBC text driver to load the file into a dataset via a
OdbcDataAdapter.

My problem is, how do I get the data from the dataset into Sql server? It
seems like all the examples I've seen with the dataadapters doing inserts or
updates have to do with a dataset the generated by the dataadapter. My
problem is that my dataset is generated by a text file, but is inserting
into Sql server.

Can anyone please show me the correct approach to my problem?

Thanks,
Ben
 
Back
Top