示例#1
0
 protected void gvApplicationNotApproved_RowCommand(object sender, GridViewCommandEventArgs e)
 {
     if (e.CommandName == "DeleteStakeholder")
     {
         OrganizationInfo.InApprovedStakeholderInActive(Convert.ToInt32(e.CommandArgument));
         LoadPendingApplications(1);
     }
     else if (e.CommandName == "Approve")
     {
         DateTime dt = DateTime.Now;
         OrganizationInfo.ApprovedStakeholderByAdmin(Convert.ToInt32(e.CommandArgument), currentUserInfo.UserId, dt);
         LoadPendingApplications(1);
     }
 }