Exemple #1
0
        public static string GetCustomPathNameByID(int CustomID)
        {
            string        _Title = "";
            SqlDataReader sdr    = SysCustomField.GetSingleCustomFieldByReader(CustomID);

            if (sdr.Read())
            {
                _Title = SysOrgan.GetOrganPathNameByID(int.Parse(sdr["OrganID"].ToString()), "") + "->" + sdr["OpName"].ToString();
            }
            sdr.Close();
            return(_Title);
        }
Exemple #2
0
        public static string GetUserPathNameByID(int UserID)
        {
            string        _Title = "";
            SqlDataReader sdr    = SysUser.GetSingleUserByReader(UserID);

            if (sdr.Read())
            {
                _Title = SysOrgan.GetOrganPathNameByID(int.Parse(sdr["OrganID"].ToString()), "") + "->" + sdr["OpName"].ToString();
            }
            sdr.Close();
            return(_Title);
        }