using BLL; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; namespace FineUIPro.Web.WeldingProcess.TestPackageManage { public partial class ImportError : PageBase { string batchNo = string.Empty; protected void Page_Load(object sender, EventArgs e) { this.batchNo = Request.Params["batchNo"]; if (!IsPostBack) { BindGrid(); } } void BindGrid() { var list = Funs.DB.PTP_TestPackage_ImportErrorLog.Where(t => t.BatchNo == batchNo).OrderBy(t => t.RowId).ToList(); this.Grid1.DataSource = list; this.Grid1.DataBind(); } } }