29 lines
755 B
C#
29 lines
755 B
C#
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.PMI
|
|
{
|
|
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.PMI_ImportErrorLog.Where(t => t.BatchNo == batchNo).OrderBy(t => t.RowId).ToList();
|
|
this.Grid1.DataSource = list;
|
|
this.Grid1.DataBind();
|
|
}
|
|
}
|
|
} |