Exemplo n.º 1
0
 //行事件
 protected void Grid1_RowCommand(object sender, FineUI.GridCommandEventArgs e)
 {
     if (e.CommandName == "Delete")
     {
         int id   = Convert.ToInt32(Grid1.Rows[e.RowIndex].Values[0]);
         int flag = operate.DeleteOpinionByID(id);
         if (flag >= 1)
         {
             Alert.ShowInParent("删除成功");
             BindData();
         }
         else
         {
             Alert.ShowInParent("删除失败");
         }
     }
 }