本文整理汇总了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;
}
示例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&namafile=" + dt.Rows[i]["hdocumIdLink"].ToString() + "&filelama=" + dt.Rows[i]["hdocumFiless"].ToString() + "</cell>");
//Response.Write("<cell>" + "Delete^" + path_pic + "?sm=Deletepic&IDSOURCE=" + dt.Rows[i]["IDSource"].ToString() + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace("Delete^javascript:DeletePic(\"" + dt.Rows[i]["hdocumIdLink"].ToString()) + "\",\"" + Param2z + "\");^_self" + "</cell>");
示例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;
}