View Single Post
  #2 (permalink)  
Old January 28th, 2005, 11:14 PM
chipset chipset is offline
Authorized User
 
Join Date: Jul 2004
Location: lagos, ikeja, Nigeria.
Posts: 34
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to chipset Send a message via MSN to chipset Send a message via Yahoo to chipset
Default

 
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