This commit is contained in:
2021-06-21 14:10:40 +08:00
parent 65a719e331
commit 8bc3189f9f
100 changed files with 9736 additions and 1138 deletions
@@ -17,7 +17,7 @@ namespace FineUIPro.Web.JDGL.Check
{
if (!IsPostBack)
{
//GetButtonPower();
GetButtonPower();
BindGrid();
}
}
@@ -39,11 +39,27 @@ namespace FineUIPro.Web.JDGL.Check
{
if (buttonList.Contains(BLL.Const.BtnSave))
{
this.btnMenuDel.Hidden = false;
}
}
}
#endregion
protected void btnMenuDel_Click(object sender, EventArgs e)
{
if (Grid1.SelectedRowIndexArray.Length > 0)
{
foreach (int rowIndex in Grid1.SelectedRowIndexArray)
{
string rowID = Grid1.DataKeys[rowIndex][0].ToString();
BLL.SteelStructureCompletionService.DeleteSteelStructureCompletionById(rowID);
}
BindGrid();
ShowNotify("删除数据成功!", MessageBoxIcon.Success);
}
}
/// <summary>
/// 加载Grid
/// </summary>