View Single Post
  #5 (permalink)  
Old March 12th, 2009, 03:10 PM
Lee Dumond's Avatar
Lee Dumond Lee Dumond is offline
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

So, let's see if I have it straight. You just want to take a table you have already set up, with no records in it, and populate the Name column of that table with a list of names from a text file (one name per line)?

As long as the file is INSIDE the root site folder, I can't see how IIS permissions would have anything to do with this, as long as you're only reading the file.

Just read the file one line at a time, then do an INSERT after each line read.

Or, you could always type the names in by hand. That's probably what I would do...
__________________
Visit my blog at http://leedumond.com
Follow me on Twitter: http://twitter.com/LeeDumond

Code:
if (this.PostHelpedYou)
{
   ClickThanksButton(); 
}