protected void btn_newstudent_Click(object sender, EventArgs e)
    {
        LibraryDAL      dal   = new LibraryDAL();
        NewStudentModel model = new NewStudentModel();

        model.StudentName     = txt_studentname.Text;
        model.StudentEmailId  = txt_studentemailid.Text;
        model.StudentPassword = txt_studentpassword.Text;
        model.StudentCity     = txt_studentcity.Text;
        model.StudentAddress  = txt_studentaddress.Text;
        model.StudentDOB      = Convert.ToDateTime(txt_studentdob.Text);
        model.StudentMobileNo = txt_studentMobileNo.Text;
        model.StudentImage    = "~/Images/" + Guid.NewGuid() + ".jpg";
        file_StudentImage.SaveAs(Server.MapPath(model.StudentImage));
        int id = dal.AddStudent(model);

        lbl_msg.Text = "Student Added : " + id;
    }