コード例 #1
0
        private string getMaxID()
        {
            string _STR_MAX = GarenaViewModel.returnMaxCode(_Student.lstStudentID());

            if (_STR_MAX == "1")
            {
                return("SV" + _STR_MAX);
            }
            return(_STR_MAX);
        }
コード例 #2
0
        private string getMaxID()
        {
            string _STR_MAX = GarenaViewModel.returnMaxCode(_WL.lstID());

            if (_STR_MAX == "1")
            {
                return(_STR_MAX);
            }
            return(_STR_MAX);
        }
コード例 #3
0
ファイル: frmManageClass.cs プロジェクト: mnat261999/Project1
        private string getMaxID()
        {
            string _STR_MAX = GarenaViewModel.returnMaxCode(_Class.lstClassID());

            if (_STR_MAX == "1")
            {
                return("LH" + _STR_MAX);
            }
            return(_STR_MAX);
        }
コード例 #4
0
        private string getMaxID()
        {
            string _STR_MAX = GarenaViewModel.returnMaxCode(_Lan.lstLanguageID());

            if (_STR_MAX == "1")
            {
                return("NN" + _STR_MAX);
            }
            return(_STR_MAX);
        }
コード例 #5
0
        private string getMaxID()
        {
            string _STR_MAX = GarenaViewModel.returnMaxCode(_Staff.lstStaffID());

            if (_STR_MAX == "1")
            {
                return("NL" + _STR_MAX);
            }
            return(_STR_MAX);
        }