JCK.Web/declaration/list_view.aspx.cs
(开头部分) 22KB这里只显示每个文件的开头 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 JCK.Common;
using JCK.Web.common;
namespace JCK.Web.declaration
{
public partial class list_view : Web.UI.ManagePage
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
dataBind_head();
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 + "'";
//清单明细表
DAL.DAL_DEC_LIST_DETAIL dal_list_d = new DAL.DAL_DEC_LIST_DETAIL();
dt = dal_list_d.GetList(where).Tables[0];
rptList_dec_d.DataSource = dt;
rptList_dec_d.DataBind();
//装箱表
DAL.DAL_DEC_BOX_DETAIL dal_box = new DAL.DAL_DEC_BOX_DETAIL();
dt = dal_box.GetList(where).Tables[0];
rptList_box.DataSource = dt;
rptList_box.DataBind();
}
#endregion
#region 赋值绑定=================================
private void dataBind_head()
{
string glid = Request.QueryString["gl_id"];
hid_glid.Value = glid;
#region 表头
后面还有 541 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
