using SiteCore; using SQLData; using System; using System.Collections.Generic; using System.Data; using System.Linq; using System.Text; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using Utils.Serialization; public partial class ENotice_NoticeManager : BasePage { protected override void OnPreInit(EventArgs e) { _repTitle = "通知列表"; PmTag = "noticemanager"; //_selfCheckPermission = true; _filterItem = "title,sign_date"; _keyFilterVisible = false; _addVisible = false; _filterDateBtn = false; } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { //string ctid = GetString("ctid"); //string tid = GetString("tid"); //StringBuilder sql = new StringBuilder(); //sql.AppendFormat("select * from view_erptradecell where ctid={0};",ctid); //sql.AppendFormat("select * from ce_erpBill where tid={0};",0); //sql.AppendFormat("select * from ce_ErpReturnCash where tid={0};",0); //sql.AppendFormat("select * from ce_erptradorder where tid={0};",0); //sql.AppendFormat("select * from ce_erptradeLog where AfterSaleState>=0 and ctid={0};",0); //DataSet ds = DbHelper.DbConn.ExecuteDataset(sql.ToString()); //AppendScript("tradeData=" + JsonString.DataTable2AjaxJson(ds.Tables[0]) + ";"); //AppendScript("billData=" + JsonString.DataTable2AjaxJson(ds.Tables[1]) + ";"); //AppendScript("cashData=" + JsonString.DataTable2AjaxJson(ds.Tables[2]) + ";"); //AppendScript("orderData=" + JsonString.DataTable2AjaxJson(ds.Tables[3]) + ";"); //selType.DataSource = dt; //selType.DataValueField = "ID"; //selType.DataTextField = "Name"; //selType.DataBind(); } //foreach (DataRow dr in dt.Rows) //{ //} } }