private String SaveUploadPengecekan() { string IDPengecekan = Request.Params["IDPengecekan"].ToString(); string _stNamaFile = Request.Params["NAMA"].ToString(); string _stKeterangan = Request.Params["KETERANGAN"].ToString(); string _stNomor = Request.Params["NOMOR"].ToString(); LANDCOMP.UploadFile uf = new LANDCOMP.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); LANDCOMP.paramz ext = new LANDCOMP.paramz(); LANDCOMP.ExecuteSTP eSTP = new LANDCOMP.ExecuteSTP(); eSTP.Datas(); DataSet ds = new DataSet(); eSTP.save5("P_PENLAP_D", param1, IDPengecekan, "", param5, _stKeterangan); if (extension != ".exe") { uf.UploadFilesWeb("I", user, _stDates, "Pengecekan", param5, uploadFolder, IDPengecekan, _stNomor + extension, _stNamaFile, _stUploadKeterangan); } var _stOutput = ID; return _stOutput; }