GetImportExportPath

by ssi 8. January 2016 08:05
public static string GetImportExportPath(string sCode, string sPath)
     {
         string sRet = "";
         switch (sCode)
         {
             case "IMPORT":
                 sRet = @"\\FB670SRV01\Docs\Technology\Import\";
                 break;
             case "EXPORT":
                 sRet = @"\\FB670SRV01\Docs\Technology\Reports\";
                 break;
             case "CUSTOM":
                 sRet = sPath;
                 break;
 
             default:
                 sRet = @"\\FB670SRV01\Docs\Technology\Reports\";
 
                 break;
         }
         clsFolders oFld = new clsFolders();
         oFld.CreateFolder(sRet);
         return sRet;
     }

Tags:

CSharp

Add comment

biuquote
  • Comment
  • Preview
Loading

Calendar

<<  December 2025  >>
MoTuWeThFrSaSu
24252627282930
1234567
891011121314
15161718192021
22232425262728
2930311234

View posts in large calendar

RecentComments

None

Development Team @ Shelbysys

We develop custom database applications for our clients. Our development tool of choice is MS Visual Studio. 

Quotations

"Fill the unforgiving minute with sixty seconds worth of distance run."
Rudyard Kipling