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 EFinance_DesignerBillLog : BasePage { protected override void OnPreInit(EventArgs e) { _selfCheckPermission = true; } protected void Page_Load(object sender, EventArgs e) { if (!IsPostBack) { string ctid = GetString("ctid"); StringBuilder sql = new StringBuilder(); sql.AppendFormat("select * from CE_ErpDesignerBillLog where tid='{0}' order by id;", ctid); DataSet ds = DbHelper.DbConn.ExecuteDataset(sql.ToString()); AppendScript("logData=" + JsonString.DataTable2AjaxJson(ds.Tables[0]) + ";"); } } }