JCK.Web/contract/get_aimg.ashx.cs
(开头部分) 6KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
namespace JCK.Web.contract
{
/// <summary>
/// $codebehindclassname$ 的摘要说明
/// </summary>
public class get_aimg : IHttpHandler
{
public void ProcessRequest(HttpContext context)
{
context.Response.ContentType = "text/xml";
context.Response.Charset = "UTF-8";
string id = context.Request["id"].ToString();
DAL.DAL_pts_ems_aimg_audit bll = new DAL.DAL_pts_ems_aimg_audit();
DataTable dt = bll.GetList(" id='" + id + "'").Tables[0];
if (dt.Rows.Count > 0)
{
context.Response.Write("<root>");
context.Response.Write("<g_no>" + dt.Rows[0]["g_no"] + "</g_no>");
context.Response.Write("<cop_g_no>" + dt.Rows[0]["cop_g_no"] + "</cop_g_no>");
context.Response.Write("<code_t>" + dt.Rows[0]["code_t"] + "</code_t>");
context.Response.Write("<code_s>" + dt.Rows[0]["code_s"] + "</code_s>");
context.Response.Write("<g_name>" + dt.Rows[0]["g_name"] + "</g_name>");
context.Response.Write("<g_model>" + dt.Rows[0]["g_model"] + "</g_model>");
context.Response.Write("<unit>" + dt.Rows[0]["unit"] + "</unit>");
context.Response.Write("<unit_1>" + dt.Rows[0]["unit_1"] + "</unit_1>");
context.Response.Write("<unit_2>" + dt.Rows[0]["unit_2"] + "</unit_2>");
context.Response.Write("<country_code>" + dt.Rows[0]["country_code"] + "</country_code>");
context.Response.Write("<dec_price>" + dt.Rows[0]["dec_price"] + "</dec_price>");
context.Response.Write("<curr>" + dt.Rows[0]["curr"] + "</curr>");
context.Response.Write("<dec_price_rmb>" + dt.Rows[0]["dec_price_rmb"] + "</dec_price_rmb>");
context.Response.Write("<factor_1>" + dt.Rows[0]["factor_1"] + "</factor_1>");
context.Response.Write("<factor_2>" + dt.Rows[0]["factor_2"] + "</factor_2>");
context.Response.Write("<factor_wt>" + dt.Rows[0]["factor_wt"] + "</factor_wt>");
context.Response.Write("<factor_rate>" + dt.Rows[0]["factor_rate"] + "</factor_rate>");
context.Response.Write("<qty>" + dt.Rows[0]["qty"] + "</qty>");
context.Response.Write("<max_qty>" + dt.Rows[0]["max_qty"] + "</max_qty>");
context.Response.Write("<first_qty>" + dt.Rows[0]["first_qty"] + "</first_qty>");
context.Response.Write("<use_type>" + dt.Rows[0]["use_type"] + "</use_type>");
context.Response.Write("<note_1>" + dt.Rows[0]["note_1"] + "</note_1>");
context.Response.Write("<note_2>" + dt.Rows[0]["note_2"] + "</note_2>");
context.Response.Write("<note>" + dt.Rows[0]["note"] + "</note>");
context.Response.Write("<modify_mark>" + dt.Rows[0]["modify_mark"] + "</modify_mark>");
context.Response.Write("<appr_amt>" + dt.Rows[0]["appr_amt"] + "</appr_amt>");
context.Response.Write("<g_eng_name>" + dt.Rows[0]["g_eng_name"] + "</g_eng_name>");
context.Response.Write("<g_eng_model>" + dt.Rows[0]["g_eng_model"] + "</g_eng_model>");
context.Response.Write("<class_note>" + dt.Rows[0]["class_note"] + "</class_note>");
context.Response.Write("<cop_unit>" + dt.Rows[0]["cop_unit"] + "</cop_unit>");
context.Response.Write("<cop_factor>" + dt.Rows[0]["cop_factor"] + "</cop_factor>");
context.Response.Write("<duty_mode>" + dt.Rows[0]["duty_mode"] + "</duty_mode>");
后面还有 50 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
