protected void gvReallocate_RowDeleting(object sender, GridViewDeleteEventArgs e) { Label lblGuid = (Label)gvReallocate.Rows[e.RowIndex].FindControl("lblProjGuid"); FinancialTransactions.DeleteReallocationsByGUID(lblGuid.Text); BindGvReallocate(Convert.ToInt32(hfProjId.Value), Convert.ToInt32(ddlRFromFund.SelectedValue.ToString())); }