Ejemplo n.º 1
0
 public RDLReport(string fullPath, string oldRdlDirectory, string newRdlDirectory, string content)
 {
     FullPath = fullPath;
     FileName = Path.GetFileName(fullPath);
     FileNameWithoutExtension = Path.GetFileNameWithoutExtension(fullPath);
     NewFullPath            = Path.GetDirectoryName(fullPath.Replace(oldRdlDirectory, newRdlDirectory)) + @"\" + FileNameWithoutExtension + @"\" + FileName;
     NewPathWithoutFileName = NewFullPath.Replace(FileName, "");
     Content     = content;
     DataSetList = new List <Dataset>();
 }
Ejemplo n.º 2
0
 public string formatNewPath()
 {
     return(string.Format("{0}-{1:ddMMMyyyy-HHmm.fff}.exe", NewFullPath.Substring(0, NewFullPath.Length - 4), DateTime.Now));
 }