20210826
This commit is contained in:
@@ -169,7 +169,7 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
private void BindGrid()
|
||||
{
|
||||
using (Model.SGGLDB db = new Model.SGGLDB(Funs.ConnString))
|
||||
{
|
||||
{
|
||||
string unitId = string.Empty;
|
||||
if (this.tvProjectAndUnit != null && !string.IsNullOrEmpty(this.tvProjectAndUnit.SelectedNodeID))
|
||||
{
|
||||
@@ -186,6 +186,14 @@ namespace FineUIPro.Web.HSSE.SitePerson
|
||||
Grid1.RecordCount = PersonService.count;
|
||||
Grid1.DataSource = getData;
|
||||
Grid1.DataBind();
|
||||
for (int i = 0; i < Grid1.Rows.Count; i++)
|
||||
{
|
||||
string idCard = Grid1.Rows[i].Values[3].ToString();
|
||||
if (!IDCardValid.CheckIDCard(idCard))
|
||||
{
|
||||
Grid1.Rows[i].RowCssClass = "Red";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user