protected void Dev_Click(object sender, EventArgs e)
    {
        input1.AuthorizeChange(Convert.ToInt16(Session["User_ID"]), Convert.ToInt16(Session["id"]), "Authorized");
        input1.BAChange(Convert.ToInt16(Session["User_ID"]), Convert.ToInt16(Session["id"]), "Authorized", Convert.ToInt16(Session["User_ID"]), dt);
        input1.DevelopChange(Convert.ToInt16(Session["User_ID"]), Convert.ToInt16(Session["id"]), "Developed");
        change_id = Convert.ToInt16(Session["id"]);

        if (FileUpload1.HasFile)
        {
            HttpFileCollection hfc = Request.Files;


            string time1         = DateTime.Now.ToString();
            string directoryPath = Server.MapPath(string.Format("~/File_Uploads/" + change_id + "/"));
            if (!System.IO.Directory.Exists(directoryPath))
            {
                System.IO.Directory.CreateDirectory(@directoryPath);
            }
            else
            {
            }

            for (int i = 0; i < hfc.Count; i++)
            {
                HttpPostedFile hpf = hfc[i];
                if (hpf.ContentLength > 0)
                {
                    string file_name = hpf.FileName;
                    hpf.SaveAs(directoryPath + "\\" + file_name);


                    string full_path = directoryPath + file_name;


                    input1.InsertFile(full_path, change_id, file_name);
                }
            }
        }



        Response.Redirect("~/Admin_All_Changes_1.aspx");
    }