예제 #1
0
        public static DataSet UsersManagementMultipleSchool(string operate, string userID, string category, string area, string schoolyear)
        {
            string SP = "dbo.EPA_sys_ApplicationUsersMultipleSchool";

            MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[5];
            myBaseParametersC.SetupBaseParameters(ref myPara, operate, userID, category, area, schoolyear);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #2
0
        public static DataSet Competency(string operate, string userID, string category, string area)
        {
            string SP = "dbo.EPA_sys_DomainCompetencyList";

            MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #3
0
        public static DataSet SchoolList(string operate, string userID, string category, string area)
        {
            string SP = "dbo.EPA_ORG_SchoolsList";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #4
0
        public static DataSet UserRoleManagement(string operate, string userID, string category, string area)
        {
            string SP = "dbo.EPA_sys_ApplicationRole";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #5
0
        public static DataSet Category(string operate, string userID)
        {
            string SP = "dbo.EPA_sys_CategoryList";

            MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, "", "");
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #6
0
        public static DataSet SystemItems(string operate, string userID, string category, string itemType)
        {
            string SP = "dbo.EPA_sys_SystemItemsList";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, itemType);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #7
0
        public static DataSet RegionAreaList(string operate, string userID, string category, string area)
        {
            string SP = "dbo.EPA_ORG_RegionAreaList";

            MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[4];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #8
0
        public static DataSet Statements(string action, string userID, string schoolyear, string schoolcode, string category, string area, string IDs)
        {
            string SP = "dbo.EPA_sys_Statement";

            MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[7];
            myBaseParametersC.SetupBaseParameters(ref myPara, action, userID, category, area, schoolyear, schoolcode, IDs);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #9
0
        public static DataSet SchoolInformation(string operate, string userID, string category, string area, string IDs)
        {
            string SP = "dbo.EPA_ORG_SchoolsList";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[5];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            SetSQLParameter.setParameterArray(myPara, DbType.String, 4, 10, "@IDs", IDs);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #10
0
        public static DataSet LookFors(string operate, string userID, string category, string area, string competencyID)
        {
            string SP = "dbo.EPA_sys_DomainCompetencyLookForsList";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[5];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            SetSQLParameter.setParameterArray(myPara, DbType.String, 4, 10, "@competencyID", competencyID);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #11
0
        public static DataSet CommentsBank(string operate, string userID, string category, string area, string type, string owner)
        {
            string SP = "dbo.EPA_sys_CommentsBankList";

            myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[6];
            myBaseParametersB.SetupBaseParameters(ref myPara, operate, userID, category, area);
            SetSQLParameter.setParameterArray(myPara, DbType.String, 4, 30, "@Type", type);
            SetSQLParameter.setParameterArray(myPara, DbType.String, 5, 30, "@Owner", owner);
            return(SetSQLParameter.getMyDataSet(SP, myPara));
        }
예제 #12
0
 public static DataSet History(string operate, string userID, string schoolYear, string schoolCode)
 {
     try
     {
         myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[4];
         SetupThisParameters(ref myPara, operate, userID, schoolYear, schoolCode);
         return(SetSQLParameter.getMyDataSet(sp, myPara));
     }
     catch (Exception ex)
     {
         var em = ex.Message;
         return(null);
     }
 }
예제 #13
0
 private static DataSet myListReader(string operate, string userID)
 {
     try
     {
         MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[2];
         myBaseParametersL.SetupBaseParameters(ref myPara, operate, userID);
         return(SetSQLParameter.getMyDataSet(SP, myPara));
     }
     catch (Exception ex)
     {
         var em = ex.Message;
         return(null);
     }
 }
예제 #14
0
 private static DataSet myListReader2(string operate, string userID, string vPara1)
 {
     try
     {
         myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[3];
         myBaseParametersL.SetupBaseParameters(ref myPara, operate, userID, vPara1);
         return(SetSQLParameter.getMyDataSet(SP, myPara));
     }
     catch (Exception ex)
     {
         var em = ex.Message;
         return(null);
     }
 }
예제 #15
0
 public static DataSet SchoolListByArea(string operate, string userID, string schoolYear, string schoolCode, string schoolArea)
 {
     try
     {
         string sp = "dbo.tcdsb_PLF_SchoolListbyArea";
         myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[5];
         SetupThisParameters(ref myPara, operate, userID, schoolYear, schoolCode);
         SetSQLParameter.setParameterArray(myPara, System.Data.DbType.String, 4, 10, "@SchoolArea", schoolArea);
         return(SetSQLParameter.getMyDataSet(sp, myPara));
     }
     catch (Exception ex)
     {
         var em = ex.Message;
         return(null);
     }
 }
예제 #16
0
 private static DataSet myListReader2(string operate, string userID, string vPara1, string vPara2)
 {
     MyADO.MyParameterDB[] myPara = new MyADO.MyParameterDB[4];
     myBaseParametersL.SetupBaseParameters(ref myPara, operate, userID, vPara1, vPara2);
     return(SetSQLParameter.getMyDataSet(SP, myPara));
 }
예제 #17
0
 private static DataSet myListReader2(string operate, string userID, string vPara1, string vPara2, string vPara3)
 {
     myCommon.MyParameterDB[] myPara = new myCommon.MyParameterDB[5];
     myBaseParametersL.SetupBaseParameters(ref myPara, operate, userID, vPara1, vPara2, vPara3);
     return(SetSQLParameter.getMyDataSet(SP, myPara));
 }