S
Stephen Russell
I am getting an error that a file doesn't exist. When it errors on the box,
I go into the Explorer and I see the file????
Here is my existing code:
// Get file for new dump file
//string path = @"c:\temp\chelsea_update_full.txt"; Former file &
Path from Dev Box
string path = @\\CHD005T01\home\pdm\chelsea_update_full.txt; // Actual
location and file does exist
using (StreamReader sr = new StreamReader(path))
{
String line;
// Read and display lines from the file until the end of
// the file is reached.
int jj=0;
while ((line = sr.ReadLine()) != null)
{
jj++;
if ( jj >3) // skip the header section.
{
parseText(RevCodeDS, line.ToString()) ;
}
}
// write out the diff's to an xml file.
OutPut.WriteXml( "multiples.xml" );
}
Any ideas?
TIA
I go into the Explorer and I see the file????
Here is my existing code:
// Get file for new dump file
//string path = @"c:\temp\chelsea_update_full.txt"; Former file &
Path from Dev Box
string path = @\\CHD005T01\home\pdm\chelsea_update_full.txt; // Actual
location and file does exist
using (StreamReader sr = new StreamReader(path))
{
String line;
// Read and display lines from the file until the end of
// the file is reached.
int jj=0;
while ((line = sr.ReadLine()) != null)
{
jj++;
if ( jj >3) // skip the header section.
{
parseText(RevCodeDS, line.ToString()) ;
}
}
// write out the diff's to an xml file.
OutPut.WriteXml( "multiples.xml" );
}
Any ideas?
TIA