Пример #1
0
 protected void gvGranInfo_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     try
     {
         int grantInfoId = Convert.ToInt32(((Label)gvGranInfo.Rows[e.RowIndex].FindControl("lblGIId")).Text);
         FinancialTransactions.DeleteGrantInfo(grantInfoId);
         BindFundGrantInfo();
     }
     catch (Exception ex)
     {
         lblErrorMsg.Text = ex.Message;
     }
 }