Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27350

VS 2008 Visual Studio 2008 - Export Edited CSV

$
0
0
Hi,

I wondered whether you could help?

I am trying to create an application which will allow you to load in a csv/text file and then it would allow the user to create sql statements.

Eg.

The file would look like :

1 ‘Fred’ ‘Biggs’
2 ‘John’ ’Taylor’
....

You would also supply information like the table name, table name : DT_People

When you process the application, you would then click the button and it would produce :

INSERT INTO Attachment 97685DT_PEOPLE VALUES(1,’Fred’,’Biggs’);
INSERT INTO DT_PEOPLE VALUES (2,’John’,’Taylor’);

I have managed to load the csv into a list view box and also export it from the list view box, it just just the text around which I’m having difficulty with.

Please could you help?

If you require the code so far, please email me and I will send it over.

Thanks in advance,
Tom
Attached Files

Viewing all articles
Browse latest Browse all 27350

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>