public string graphic() { String output = ""; var param1 = Request.Params["param1"].ToString(); var param2 = Request.Params["param2"].ToString(); //var param3 = Request.Params["param3"].ToString(); //var param4 = Request.Params["param4"].ToString(); //var param5 = Request.Params["param5"].ToString(); //var param6 = Request.Params["param6"].ToString(); try { ALMIS.ExecuteSTP eSTP = new ALMIS.ExecuteSTP(); eSTP.Datas(); DataSet ds = new DataSet(); ds = eSTP.List2("ALMIS.D_REPORT", param1, param2); DataTable dt = new DataTable(); dt = ds.Tables[0]; for (int i = 0; i < dt.Rows.Count; i++) { output += (dt.Rows[i]["t_xmlxx"].ToString()); } } catch (Exception e) { output = e.Message; } return output; }
private String UA() { var Param1 = Request.Params["param1"].ToString(); var Param2 = Request.Params["param2"].ToString(); string output = ""; try { ALMIS.ExecuteSTP eSTP_p = new ALMIS.ExecuteSTP(); eSTP_p.Datas(); DataSet ds_p = new DataSet(); ds_p = eSTP_p.List2("C_ADMINS", Param1, Param2); dt = ds_p.Tables[0]; Response.ContentType = "text/plain"; for (int i = 0; i < dt.Rows.Count; i++) { output += dt.Rows[i]["UserssNamess"].ToString() + "|"; output += dt.Rows[i]["UserssIdents"].ToString() + "*"; } dt.Dispose(); } catch (Exception ex) { Response.Write(ex.Message); } return output; }
private String KabKec() { if (Request.Params["param1"] is object) param1 = Request.Params["param1"].ToString(); if (Request.Params["param2"] is object) param2 = Request.Params["param2"].ToString(); string output = ""; try { ALMIS.ExecuteSTP eSTP = new ALMIS.ExecuteSTP(); eSTP.Datas(); DataSet ds = new DataSet(); ds = eSTP.List2("C_ADMINS", param1, param2); dt = ds.Tables[0]; for (int i = 0; i < dt.Rows.Count; i++) { output += dt.Rows[i]["namass"].ToString() + "|"; output += dt.Rows[i]["idents"].ToString() + "*"; } dt.Dispose(); } catch (Exception ex) { Response.Write(ex.Message); } return output; }