コード例 #1
0
    private String SaveUploadKlaimUser()
    {
        string IDKlaimUser = Request.Params["IDKlaimUser"].ToString();
        string _stNamaFile = Request.Params["NAMA"].ToString();
        string _stKeterangan = Request.Params["KETERANGAN"].ToString();
        string _stNomor = Request.Params["NOMOR"].ToString();

        ALMIS.UploadFile uf = new ALMIS.UploadFile();
        uf.Datas();

        string _stDates = DateTime.Today.ToString("yyyyMMdd");

        string param1 = Request.Params["param1"].ToString();
        string param5 = Request.Params["param5"].ToString();
        string user = Request.Params["user"].ToString();
        string wilayah = Request.Params["wilay"].ToString();
        string param11 = Request.Params["param11"].ToString();
        string NmrSem = Request.Params["NmrSem"].ToString();

        string _stUploadKeterangan = "";
        _stUploadKeterangan = _stKeterangan;

        string uploadFolder = Request.PhysicalApplicationPath + "uploadDocument\\";
        string extension = Path.GetExtension(_stNamaFile);

        ALMIS.paramz ext = new ALMIS.paramz();

        ALMIS.ExecuteSTP eSTP = new ALMIS.ExecuteSTP();
        eSTP.Datas();
        DataSet ds = new DataSet();

        if (IDKlaimUser == null)
        {

            if (NmrSem == "0")
            {
                string txtNmrIdn =  this.txtNmrIdn.Text;
                string txtNama = this.txtNama.Text;
                string txtAlamat = this.txtAlamat.Text;
                string txtNoHandphone = this.txtNoHandphone.Text;
                string ddKabupaten = this.ddKabupaten.SelectedValue.ToString();
                ////param13 = ddprs.SelectedValue.ToString();

                eSTP.Datas();
                eSTP.save16("P_CLAUSR", "I", NmrSem, "", txtNmrIdn, txtNama, txtAlamat, txtNoHandphone, "", "", "", userid, "", "", "", "", "");

            }

        }

        eSTP.save7("P_CLAUSR_D", param1, IDKlaimUser, "", param5, _stKeterangan, param11, "0");

        if (extension != ".exe")
        {
            //eSTP.save12("P_HDOCUM", "I", user, _stDates, "Claim User", param5, uploadFolder, IDKlaimUser, _stNomor + extension, _stNamaFile, _stUploadKeterangan, param11, "0");
            uf.UploadFilesWeb("I", user, _stDates, "Claim User", param5, uploadFolder, IDKlaimUser, _stNomor + extension, _stNamaFile, _stUploadKeterangan, param11, "0");

            //uf.UploadFilesWeb("I", user, _stDates, "Claim User", param5, uploadFolder, IDKlaimUser, _stNomor + extension, _stNamaFile, _stUploadKeterangan, param11, "0");
        }

        var _stOutput = ID;

        return _stOutput;
    }
コード例 #2
0
    private String SaveUploadRegistrasi()
    {
        string IDRegistrasi = Request.Params["IDREGISTRASI"].ToString();
         string _stNamaFile = Request.Params["NAMA"].ToString();
         string _stKeterangan = Request.Params["KETERANGAN"].ToString();
         string _stNomor = Request.Params["NOMOR"].ToString();

         ALMIS.UploadFile uf = new ALMIS.UploadFile();
         uf.Datas();

         string _stDates = DateTime.Today.ToString("yyyyMMdd");

         string param1 = Request.Params["param1"].ToString();
         string param5 = Request.Params["param5"].ToString();
         string user = Request.Params["user"].ToString();
         string wilayah = Request.Params["wilay"].ToString();

         string _stUploadKeterangan = "";
         _stUploadKeterangan = _stKeterangan;

         string uploadFolder = Request.PhysicalApplicationPath + "uploadDocument\\";
         string extension = Path.GetExtension(_stNamaFile);

         ALMIS.paramz ext = new ALMIS.paramz();

         ALMIS.ExecuteSTP eSTP = new ALMIS.ExecuteSTP();
         eSTP.Datas();
         DataSet ds = new DataSet();

         //eSTP.save5("P_REGIST_U", param1, IDRegistrasi, "", param5, _stKeterangan);

         if (extension != ".exe")
         {

             uf.UploadFilesWeb("I", user, _stDates, "Master Identitas", param5, uploadFolder, IDRegistrasi, _stNomor + extension, _stNamaFile, _stUploadKeterangan,"","");
         }

         var _stOutput = IDRegistrasi;

         return _stOutput;
    }
コード例 #3
0
    private String SaveUploadKlaimUser()
    {
        string IDPerdok = Request.Params["IDPerdok"].ToString();
        string _stNamaFile = Request.Params["NAMA"].ToString();
        string _stKeterangan = Request.Params["KETERANGAN"].ToString();
        string _stNomor = Request.Params["NOMOR"].ToString();

        ALMIS.UploadFile uf = new ALMIS.UploadFile();
        uf.Datas();

        string _stDates = DateTime.Today.ToString("yyyyMMdd");

        string param1 = Request.Params["param1"].ToString();
        string param5 = Request.Params["param5"].ToString();
        string user = Request.Params["user"].ToString();
        string wilayah = Request.Params["wilay"].ToString();
        string param11 = Request.Params["param11"].ToString();

        string _stUploadKeterangan = "";
        _stUploadKeterangan = _stKeterangan;

        string uploadFolder = Request.PhysicalApplicationPath + "uploadDocument\\";
        string extension = Path.GetExtension(_stNamaFile);

        ALMIS.paramz ext = new ALMIS.paramz();

        ALMIS.ExecuteSTP eSTP = new ALMIS.ExecuteSTP();
        eSTP.Datas();
        DataSet ds = new DataSet();

        eSTP.save9("P_VERDOK_D", param1, IDPerdok, "", param5, _stKeterangan, param11, "", "", "");

        if (extension != ".exe")
        {

            uf.UploadFilesWeb("I", user, _stDates, "Verifikasi Dokumen", param5, uploadFolder, IDPerdok, _stNomor + extension, _stNamaFile, _stUploadKeterangan, param11, "");
        }

        var _stOutput = ID;

        return _stOutput;
    }