quote: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.
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