JCK.Web/declaration/ashx/get_list_d_ById.ashx.cs
(完整代码) 1KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
namespace JCK.Web.declaration.ashx
{
/// <summary>
/// $codebehindclassname$ 的摘要说明
/// </summary>
public class get_list_d_ById : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/xml";
context.Response.Charset = "UTF-8";
string List_d_guid = context.Request["List_d_guid"].ToString();
string G_Name_G_Model = "";
DAL.DAL_DEC_LIST_DETAIL bll = new DAL.DAL_DEC_LIST_DETAIL();
string where = " guid='" + List_d_guid + "' ";
DataTable dt = bll.GetList(where).Tables[0];
if (dt.Rows.Count > 0)
{
string G_MODEL = dt.Rows[0]["G_Model"].ToString();
if (!string.IsNullOrEmpty(G_MODEL))
{
G_MODEL = G_MODEL.Replace("<", "<");
}
G_Name_G_Model = dt.Rows[0]["G_Name"].ToString() + "(" + G_MODEL + ")";
}
context.Response.Write("<root>");
context.Response.Write("<g_name_g_model>" + G_Name_G_Model + "</g_name_g_model>");
context.Response.Write("</root>");
}
public bool IsReusable
{
get
{
return false;
}
}
}
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
