Example #1
0
 protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
 {
     Cancel.Update();
     Approved.Update();
     Session["gg"] = "Cancellation Request Granted.";
     ccancel.Insert();
     Response.Redirect("~/admin/RFC.aspx?rr=0");
 }
Example #2
0
    protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
    {
        UpdateDate.Update();
        Approved.Update();
        ResUpdate.Update();
        TagUpdate.Update();
        DataView dv = (DataView)AfftectedSelect.Select(DataSourceSelectArguments.Empty);
        int      x  = 0;

        foreach (DataRow dr in dv.Table.Rows)
        {
            Session["rr"] = (int)dv.Table.Rows[x][0];
            Session["gg"] = "Event Date Already Reserved";
            ccancel.Insert();
        }
        Response.Redirect("~/admin/RFR.aspx?rr=0");
    }