Exemple #1
0
        public DataTable Professor_urm_Sel_DepartmentID(string DepartmentID, string SubDepartmentID)
        {
            Staffdal  t  = new Staffdal();
            DataSet   ds = new DataSet();
            DataTable dt = new DataTable();

            if (SubDepartmentID == "#")
            {
                ds = t.Professor_urm_Sel_DepartmentID(DepartmentID, null);
            }
            else
            {
                ds = t.Professor_urm_Sel_DepartmentID(DepartmentID, SubDepartmentID);
            }
            if (ds.Tables.Count > 0)
            {
                dt = ds.Tables[0];
            }
            return(dt);
        }