Ejemplo n.º 1
0
        ///<summary>
        ///更新学员类型
        ///</summary>
        public bool updStuType(string pidno, int type)
        {
            bool result = true;

            try
            {
                DBAccessHelper.setStudentType(pidno, type);
            }
            catch (Exception ex)
            {
                result = false;
                System.Windows.MessageBox.Show("更新学员类型出错,错误信息:" + ex.Message.ToString());
            }
            return(result);
        }