|
Server : Microsoft-IIS/10.0 System : Windows NT EBS-6136 10.0 build 17763 (Windows Server 2016) i586 User : jxgj ( 0) PHP Version : 7.0.33 Disable Function : passthru,exec,system,shell_exec,proc_open,popen,pcntl_exec,socket_bind,stream_socket_server Directory : D:/tmp_aspnet/root/5f1e4137/8eca010b/ |
?#pragma checksum "D:\wwwroot\njjbjycom\wwwroot\Control\Header.ascx.cs" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "09305D982A8A48AECB8E48DBB512C9B4C19A1E14"
#line 1 "D:\wwwroot\njjbjycom\wwwroot\Control\Header.ascx.cs"
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.Configuration;
public partial class Control_Header : System.Web.UI.UserControl
{
protected WebSet webset = new WebSet();
protected void Page_Load(object sender,EventArgs e)
{
//获得配相信息
string pathurl = Server.MapPath(ConfigurationManager.AppSettings["Configpath"].ToString());
webset = Paper.loadConfig(pathurl);
if (!IsPostBack)
{
//DataTable dtBts = BusinessLogic.ReturnDt("select * from system_Banaers where ClassId=0 order by Sort asc ,ID desc");
//this.RepBts.DataSource = dtBts;
//this.RepBts.DataBind();
DataTable dtNts = BusinessLogic.ReturnDt("select * from system_NewTypes where ClassId=0 order by Sort asc, id desc");
this.RepNts.DataSource = dtNts;
this.RepNts.DataBind();
//DataTable dtTts = BusinessLogic.ReturnDt("select * from system_TrainTypes where ClassId=0 order by Sort asc, id desc");
//this.RepTts.DataSource = dtTts;
//this.RepTts.DataBind();
DataTable dtTes = BusinessLogic.ReturnDt("select * from system_TechTypes where ClassId=0 order by Sort asc, id desc");
this.RepTes.DataSource = dtTes;
this.RepTes.DataBind();
//DataTable dtTts = BusinessLogic.ReturnDt("select * from system_Teams where IsDel=0 order by Sort asc,ID desc");
//this.RepTts.DataSource = dtTts;
//this.RepTts.DataBind();
//DataTable dtWts = BusinessLogic.ReturnDt("select * from system_WorkTypes where ClassId=0 order by sort asc,id desc");
//this.RepWts.DataSource = dtWts;
//this.RepWts.DataBind();
DataTable dtPts = BusinessLogic.ReturnDt("select * from system_ProductTypes where ClassId=0 order by Sort asc ,Id desc");
this.RepPts.DataSource = dtPts;
this.RepPts.DataBind();
//DataTable dtCts = BusinessLogic.ReturnDt("select * from system_CaseTypes where ClassID=0 order by Sort asc,ID desc");
//this.RepCts.DataSource = dtCts;
//this.RepCts.DataBind();
}
}
}
#line default
#line hidden