p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Pro VB Databases (http://p2p.wrox.com/forumdisplay.php?f=81)
-   -   How to upload data in multiple files at once? (http://p2p.wrox.com/showthread.php?t=24175)

hwsc January 20th, 2005 02:15 AM

How to upload data in multiple files at once?
 
I need to upload multiple files at once by VB 6.0

I have created a Common Dialog to browse files and saved the files' names and pathes in TextBoxes respectively.

Next, I need to upload the data in these files to a SQL Server by clicking a CommandButton. How do I program this part? thanks.



chipset January 28th, 2005 11:14 PM

 
Quote:

quote:I have created a Common Dialog to browse files and saved the
Quote:

 files' names and pathes in TextBoxes respectively.

Next, I need to upload the data in these files to a SQL Server by
 clicking a CommandButton. How do I program this part? thanks.
you mean for example you want to get a file, say a textfile (file.txt), the whole of its contents into a database? if thats what
you mean, open the file, and save all the content of the file into
a string ot a varient, and then pass the variable to your data base
:)



Arowolo

ajay.mnnit June 27th, 2007 05:25 AM

hey can u paste the code here .. means for common dialog to browse the file and where can i get this component option in control.I am very new to this.plz tell me

Thanks & regards
Ajay Kumar Singh


All times are GMT -4. The time now is 01:26 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.