Example #1
0
 protected void gvPTrans_RowDeleting(object sender, GridViewDeleteEventArgs e)
 {
     try
     {
         HiddenField hf = (HiddenField)gvPTrans.Rows[e.RowIndex].Cells[0].FindControl("HiddenField1");
         FinancialTransactions.DeleteProjectFund(Convert.ToInt32(hf.Value));
         BindSelectedProjects();
     }
     catch (Exception ex)
     {
         lblErrorMsg.Text = ex.Message;
     }
 }