Пример #1
0
 protected void autoImport()
 {
     if (HRAImportDAL.CheckAutoImport(_category, source))
     {
         upload_auto.Visible     = true;
         upload_manually.Visible = false;
         lbl_clientfile.Text     = HRAImportDAL.GetClientFilePath(_category, source) + "\\" + HRA.GetInputFileName(ddlYrmo1.SelectedItem.Value, source);
     }
     else
     {
         upload_auto.Visible     = false;
         upload_manually.Visible = true;
         lbl_clientfile.Text     = "";
     }
 }
Пример #2
0
 protected void autoImport()
 {
     if (HRAImportDAL.CheckAutoImport(_category, source))
     {
         upload_auto.Visible     = true;
         upload_manually.Visible = false;
         lbl_clientfile.Text     = HRAImportDAL.GetClientFilePath(_category, source) + "\\" + HRA.GetInputFileName(ddlYrmo.SelectedItem.Value, source);
         lbl_clientfile.Text     = lbl_clientfile.Text + "&nbsp;&nbsp;(<i>or</i>)<br/>" + lbl_clientfile.Text.Replace(".xls", ".txt");
     }
     else
     {
         upload_auto.Visible     = false;
         upload_manually.Visible = true;
         lbl_clientfile.Text     = "";
     }
 }