public DataTable GetDeptid(SMSView smsview)
        {
            DataTable dt4 = new DataTable();
            SMSDAO smsdao = new SMSDAO();
            try
            {
                dt4 = smsdao.selectDeptId(smsview);
                return dt4;
            }
            catch (Exception)
            {

                throw;
            }
            finally
            {
                smsdao = null;
            }
        }