private String SaveUploadPemberkasan()
    {
        string IDPemberkasan = Request.Params["IDPemberkasan"].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.save7("P_BERKS1_D", param1, IDPemberkasan, "", param5, _stKeterangan,"","");

        if (extension != ".exe")
        {

            uf.UploadFilesWeb("I", user, _stDates, "Pemberkasan", param5, uploadFolder, IDPemberkasan, _stNomor + extension, _stNamaFile, _stUploadKeterangan,"","");
        }

        var _stOutput = ID;

        return _stOutput;
    }
    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;
    }