Basf_TCC7/HJGL/FineUIPro.Web/WeldingProcess/TestPackageManage/ImportError.aspx.cs

29 lines
781 B
C#
Raw Normal View History

2024-05-24 21:27:14 +08:00
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()
{
2024-05-25 16:25:27 +08:00
var list = Funs.DB.PTP_TestPackage_ImportErrorLog.Where(t => t.BatchNo == batchNo).OrderBy(t => t.RowId).ToList();
2024-05-24 21:27:14 +08:00
this.Grid1.DataSource = list;
this.Grid1.DataBind();
}
}
}