C
CCLeasing
If (Directory.Exists(@"c:\indigo\" + txtOfficial + @"\" +
comOffice.Text + @"\" + numTerm.Value.ToString()))
{
storereport();
}
else
{
Directory.CreateDirectory(@"c:\indigo\" + txtOfficial +
@"\" + comOffice.Text + @"\" + numTerm.Value.ToString());
}
this isn't compiling, and else is being underlined as wrong. Any
suggestions on how to fix this please?
comOffice.Text + @"\" + numTerm.Value.ToString()))
{
storereport();
}
else
{
Directory.CreateDirectory(@"c:\indigo\" + txtOfficial +
@"\" + comOffice.Text + @"\" + numTerm.Value.ToString());
}
this isn't compiling, and else is being underlined as wrong. Any
suggestions on how to fix this please?