tehon3299 Posted March 10, 2003 Posted March 10, 2003 How can I read the all the files in a directory (with NO subfolders) and as I read the filenames, put them in a database in SQL? Quote Thanks, Tehon
Moderators Robby Posted March 11, 2003 Moderators Posted March 11, 2003 Can you explain further Quote Visit...Bassic Software
Heiko Posted March 11, 2003 Posted March 11, 2003 Maybe you get some helpful hints here: http://www.xtremedotnettalk.com/showthread.php?s=&threadid=70123&highlight=Directory (just make sure you don't recurse through the subdirs but read the files instead. Should be no big difference in the code.) Then, of course, you also need a database table to keep the values, a dataadapter and the respective SQL statements. Quote .nerd
tehon3299 Posted March 11, 2003 Author Posted March 11, 2003 Robby, I just want to be able to click a button on my aspx page and have it look at the directory path and take all the filenames and put them in an SQL table. Quote Thanks, Tehon
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.