Пример #1
0
 protected void gvFrantInfoFy_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     try
     {
         int   rowIndex = e.RowIndex;
         Label lblFyAmt = (Label)gvFrantInfoFy.Rows[rowIndex].FindControl("lblGrantInfoFY");
         if (lblFyAmt != null)
         {
             FinancialTransactions.DeleteGrantInfoFyAmt(Convert.ToInt32(lblFyAmt.Text));
         }
         BindFiscalYr();
     }
     catch (Exception ex)
     {
         lblErrorMsg.Text = ex.Message;
     }
 }