本文整理汇总了C#中LANDCOMP.ExecuteSTP.param7方法的典型用法代码示例。如果您正苦于以下问题:C# ExecuteSTP.param7方法的具体用法?C# ExecuteSTP.param7怎么用?C# ExecuteSTP.param7使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类LANDCOMP.ExecuteSTP
的用法示例。
在下文中一共展示了ExecuteSTP.param7方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: ServiceSelect
//.........这里部分代码省略.........
type = "image/tif";
break;
}
Response.AddHeader("content-disposition", "attachment;filename=" + namafile + "");
Response.ContentType = type;
Response.WriteFile(Server.MapPath(@"~/uploaddocument/" + Request.Params["namafile"].ToString().Replace("&", "&")));
Response.End();
return false;
break;
case "SavePic":
Response.ContentType = "text/plain";
Response.Write(SaveUploadGIFDUMP());
Response.End();
return false;
case "DOCpic":
String path_pic = (HttpContext.Current.Request.Url.AbsolutePath).ToLower();
string IDREGISTRASI = Request.Params["IDREGISTRASI"].ToString();
string param1 = Request.Params["param1"].ToString();
LANDCOMP.ExecuteSTP eSTPx = new LANDCOMP.ExecuteSTP();
eSTPx.Datas();
DataSet dsx = new DataSet();
dsx = eSTPx.List22("P_PENGTO", param1, IDREGISTRASI, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
dt = dsx.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]["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()) + "\",\"" + IDREGISTRASI + "\");^_self" + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["hdocumIdSour"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["hdocumIdLink"].ToString()) + "</cell>");
Response.Write("</row>");
}
Response.Write("</rows>");
dt.Dispose();
Response.End();
return false;
case "SD":
var param1SA = Request.Params["param1"].ToString();
var param2SA = Request.Params["param2"].ToString();
LANDCOMP.ExecuteSTP eSTP_SA = new LANDCOMP.ExecuteSTP();
eSTP_SA.Datas();
DataSet ds_SA = new DataSet();
ds_SA = eSTP_SA.param7("P_PENGTO_D", param1SA, param2SA, "", "", "", "","");
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]["pengtoNamPlk"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["pengtoLuaPlk"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["pengtoStatus"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["pengtoIdents"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["pengtoSequen"].ToString()) + "</cell>");
Response.Write("</row>");
}
Response.Write("</rows>");
dt.Dispose();
Response.End();
return false;
default:
Response.ContentType = "text/plain";
Response.End();
return true;
}
}
示例2: ServiceSelect
private bool ServiceSelect(string sm)
{
switch (sm)
{
case "select":
var param1SM = Request.Params["param1"].ToString();
var param2SM = Request.Params["param2"].ToString();
LANDCOMP.ExecuteSTP eSTP = new LANDCOMP.ExecuteSTP();
eSTP.Datas();
DataSet ds = new DataSet();
ds = eSTP.param26("P_MINDENT", param1SM, param2SM, "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "");
dt = ds.Tables[0];
Response.ContentType = "text/plain";
Response.Write(dt.Rows[0]["MidentIdents"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentJnsIdn"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNamass"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentJnsKel"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTmplhr"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTgllhr"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentPekerj"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNmrPeg"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentAlamat"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNmrHps"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentStatus"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNmPsng"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTmpPas"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTglPas"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentThnNkh"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNmAyah"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTglAyh"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentKrjAyh"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentAlmAyh"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentNmIbus"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentTglIbu"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentKrjIbu"].ToString() + "|");
Response.Write(dt.Rows[0]["MidentAlmIbu"].ToString() + "|");
dt.Dispose();
Response.End();
Response.End();
return false;
case "SA":
var param1SA = Request.Params["param1"].ToString();
var param2SA = Request.Params["param2"].ToString();
LANDCOMP.ExecuteSTP eSTP_SA = new LANDCOMP.ExecuteSTP();
eSTP_SA.Datas();
DataSet ds_SA = new DataSet();
ds_SA = eSTP_SA.param7("P_MINDENT_A", param1SA, param2SA, "", "", "", "", "");
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]["midentNamass"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["midentTgllhr"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["midentPkrjan"].ToString()) + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace(dt.Rows[i]["midentAlamat"].ToString()) + "</cell>");
//Response.Write("<cell>" + RemoveWhiteSpace("View^javascript:View(\"" + "SA" + "\",\"" + "SA" + "\",\"" + dt.Rows[i]["MidentIdents"].ToString() + "\",\"" + dt.Rows[i]["midentSequen"].ToString() + "\");^_self") + "</cell>");
//Response.Write("<cell>" + RemoveWhiteSpace("Edit^javascript:EditDetil(\"" + "UA" + "\",\"" + "UA" + "\",\"" + dt.Rows[i]["MidentIdents"].ToString() + "\",\"" + dt.Rows[i]["midentSequen"].ToString() + "\");^_self") + "</cell>");
Response.Write("<cell>" + RemoveWhiteSpace("Delete^javascript:Hapus(\"" +"DA" + "\",\"" + "DA" + "\",\"" + dt.Rows[i]["MidentIdents"].ToString() + "\",\"" + dt.Rows[i]["midentSequen"].ToString() + "\");^_self") + "</cell>");
Response.Write("</row>");
}
Response.Write("</rows>");
dt.Dispose();
Response.End();
Response.End();
return false;
case "SS":
var param1SS = Request.Params["param1"].ToString();
var param2SS = Request.Params["param2"].ToString();
LANDCOMP.ExecuteSTP eSTP_SS = new LANDCOMP.ExecuteSTP();
eSTP_SS.Datas();
DataSet ds_SS = new DataSet();
ds_SA = eSTP_SS.param7("P_MINDENT_S", param1SS, param2SS, "", "", "", "", "");
dt = ds_SA.Tables[0];
//.........这里部分代码省略.........