当前位置: 首页>>代码示例>>C#>>正文


C# ExecuteSTP.save6方法代码示例

本文整理汇总了C#中LANDCOMP.ExecuteSTP.save6方法的典型用法代码示例。如果您正苦于以下问题:C# ExecuteSTP.save6方法的具体用法?C# ExecuteSTP.save6怎么用?C# ExecuteSTP.save6使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在LANDCOMP.ExecuteSTP的用法示例。


在下文中一共展示了ExecuteSTP.save6方法的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: SaveUploadKelengkapan

    private String SaveUploadKelengkapan()
    {
        string IDRegistrasi = Request.Params["IDREGISTRASI"].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 param3 = Request.Params["param3"].ToString();
        string param4 = Request.Params["param4"].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.save6("P_REGIST_D", param1, IDRegistrasi, param3, param4, _stKeterangan,"");

        if (param3=="1"){param3 = "10";}
        if (param3=="2"){param3 = "11";}
        if (param3=="3"){param3 = "12";}
        if (param3=="4"){param3 = "13";}

        if (extension != ".exe")
        {

            uf.UploadFilesWeb("I", user, _stDates, "Registrasi", param3, uploadFolder, IDRegistrasi, _stNomor + extension, _stNamaFile, param4);
        }

        var _stOutput = IDRegistrasi;

        return _stOutput;
    }
开发者ID:VikySihabudin,项目名称:Landai,代码行数:47,代码来源:RegistrasiForm.aspx.cs

示例2: ServiceSelect


//.........这里部分代码省略.........
                DataSet ds_SA = new DataSet();
                ds_SA = eSTP_SA.param6("P_REGIST_D", param1SA, param2SA, param3SA, "", "", "");

                dt = ds_SA.Tables[0];

                Response.ContentType = "application/xhtml+xml";
                Response.Write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
                Response.Write("<rows>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    Random r = new Random();
                    Response.Write("<row id=\"" + (i + 1).ToString() + "\">");
                    Response.Write("<cell>" + (i + 1).ToString() + "</cell>"); // Untuk Membuat Angka
                    Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["registKondis"].ToString()) + "</cell>");
                    Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["registKeters"].ToString()) + "</cell>");
                    Response.Write("<cell>" + RemoveWhiteSpace("Delete^javascript:Hapus(\"" + "DA" + "\",\"" + "DA" + "\",\"" + dt.Rows[i]["registNmrReg"].ToString() + "\",\"" + dt.Rows[i]["registSequen"].ToString() + "\",\"" + dt.Rows[i]["registSequen"].ToString() + "\");^_self") + "</cell>");

                    Response.Write("</row>");
                }
                Response.Write("</rows>");
                dt.Dispose();

                Response.End();

                return false;
            case "DA":

                string param1DA = Request.Params["param1"].ToString();
                string param2DA = Request.Params["param2"].ToString();
                string param3DA = Request.Params["param3"].ToString();

                LANDCOMP.ExecuteSTP eSTP_DA = new LANDCOMP.ExecuteSTP();
                eSTP_DA.Datas();
                eSTP_DA.save6("P_REGIST_D", param1DA, param2DA, "", "", "", param3DA);

                return false;

            case "ListUploadIdentitasLahan":

                var Param1z = Request.Params["param1"].ToString();
                var Param2z = Request.Params["IDRegistrasi"].ToString();

                String path_pic = (HttpContext.Current.Request.Url.AbsolutePath).ToLower();

                LANDCOMP.ExecuteSTP eSTPz = new LANDCOMP.ExecuteSTP();
                eSTPz.Datas();
                DataSet dsz = new DataSet();
                dsz = eSTPz.List34("P_REGIST", Param1z, Param2z, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");

                dt = dsz.Tables[0];

                Response.ContentType = "application/xhtml+xml";
                Response.Write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");
                Response.Write("<rows>");
                for (int i = 0; i < dt.Rows.Count; i++)
                {
                    Random r = new Random();
                    Response.Write("<row id=\"" + (i + 1).ToString() + "\">");

                    Response.Write("<cell>" + (i + 1).ToString() + "</cell>");
                    Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["codessDescs1"].ToString()) + "</cell>");
                    Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["hdocumFiless"].ToString()) + "</cell>");

                    Response.Write("<cell>" + "Download^" + path_pic + "?sm=df&amp;namafile=" + dt.Rows[i]["hdocumIdLink"].ToString() + "&amp;filelama=" + dt.Rows[i]["hdocumFiless"].ToString() + "</cell>");
                    //Response.Write("<cell>" + "Delete^" + path_pic + "?sm=Deletepic&amp;IDSOURCE=" + dt.Rows[i]["IDSource"].ToString() + "</cell>");
                    Response.Write("<cell>" + RemoveWhiteSpace("Delete^javascript:DeletePic(\"" + dt.Rows[i]["hdocumIdLink"].ToString()) + "\",\"" + Param2z + "\");^_self" + "</cell>");
开发者ID:VikySihabudin,项目名称:Landai,代码行数:67,代码来源:RegistrasiForm.aspx.cs

示例3: SaveUploadFinal

    private String SaveUploadFinal()
    {
        string IDFinal = Request.Params["IDFinal"].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.save6("P_BERKS2_D", param1, IDFinal, "", "", param5, _stKeterangan);

        if (extension != ".exe")
        {

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

        var _stOutput = ID;

        return _stOutput;
    }
开发者ID:VikySihabudin,项目名称:Landai,代码行数:41,代码来源:PemberkasanDuaForm.aspx.cs


注:本文中的LANDCOMP.ExecuteSTP.save6方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。