Example #1
0
        protected void btnSaveStuDoc(object sender, EventArgs e)
        {
            try
            {
                VmStudentRegistration objVmStudent = new VmStudentRegistration();
                long result = 1;
                objVmStudent.AdmissionNo     = Convert.ToInt32(txtadmsnnum.Text.Trim());
                objVmStudent.StudentDocument = upstudoc.FileName;

                result = StudentRegisrationBLL.UploadDocument(objVmStudent);
                if (result > 0)
                {
                    btnsaveadditionaldetails.Enabled = true;
                    btnsavedoc.Enabled = false;
                }
            }
            catch (Exception)
            {
                throw;
            }
            Docupload();
            //btnupstudoc.Enabled = true;
        }