예제 #1
0
        public static string LoadDocument(int intSchoolID, int intTrustMID, int intStudentMID, int intEmployeeMID)
        {
            try
            {
                #region Bind Section
                DataTable  dtStudent     = new DataTable();
                DocumentBL objDocumentBL = new DocumentBL();
                DocumentBO objDocumentBO = new DocumentBO();

                ApplicationResult objResultSection = new ApplicationResult();
                objResultSection = objDocumentBL.Document_SelectAll_ForDropDown(intSchoolID, intTrustMID, intStudentMID, intEmployeeMID);
                if (objResultSection != null)
                {
                    dtStudent = objResultSection.resultDT;
                    if (dtStudent.Rows.Count > 0)
                    {
                        for (int i = 0; i < dtStudent.Rows.Count; i++)
                        {
                        }
                    }
                }
                string res = "";
                res = DataSetToJSON(dtStudent);
                return(res);

                #endregion
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }