JCK.Web/declaration/dec_view.aspx.cs

(开头部分) 61KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Drawing;
using JCK.Web.common;

namespace JCK.Web.declaration
{
    public partial class dec_view : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                dataBind_head();
                ShowSet();
                rptBind();
            }
            ScriptManager.RegisterStartupScript(this, this.GetType(), "SetTipScript", "gx_color();", true);
        }

        #region 数据绑定=================================

        private void rptBind()
        {
            string glid = Request.QueryString["GL_ID"];
            DataTable dt = null;
            

            //明细表
            string where = "1=1 and GL_ID='" + glid + "'  order by G_NO";
            DAL.DAL_DEC_DETAIL dal_dec_d = new DAL.DAL_DEC_DETAIL();
            dt = dal_dec_d.GetList(where).Tables[0];

            rptList_dec_d.DataSource = dt;
            rptList_dec_d.DataBind();

            //装箱表
             where = "1=1 and GL_ID='" + glid + "'   ";
            //string L_GL_ID = Request.QueryString["L_GL_ID"];//清单表头GL_ID
            //where = "1=1 and GL_ID='" + L_GL_ID + "'";

            DAL.DAL_DEC_BOX_DETAIL_DEC dal_box = new DAL.DAL_DEC_BOX_DETAIL_DEC();
            dt = dal_box.GetList(where).Tables[0];
            
            rptList_box.DataSource = dt;
            rptList_box.DataBind();



            string where2 = "1=1 and a.gl_id='" + glid + "' ";

            //随附单据表
            DAL.DAL_DEC_LICENSEDOCU dal_licen_e = new DAL.DAL_DEC_LICENSEDOCU();
            DataTable dt_licen_e = dal_licen_e.GetList(where2).Tables[0];

后面还有 1198 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。