public DataTable SelectAllData()
        {
            DataTable      dtbl           = new DataTable();
            DalUserTickets dalUserTickets = new DalUserTickets();

            dtbl           = dalUserTickets.SelectAllUserTickets(this);
            dalUserTickets = null;
            return(dtbl);
        }
        public DataTable AutoGenTktNo()
        {
            DataTable      dtbl           = new DataTable();
            DalUserTickets dalUserTickets = new DalUserTickets();

            try
            {
                dtbl           = dalUserTickets.AutoGenTktNo(this);
                dalUserTickets = null;
            }
            catch (Exception ex)
            {
            }
            return(dtbl);
        }
        public long DeleteData()
        {
            _UserAction = 3;
            DalUserTickets dalUserTickets = new DalUserTickets();
            long           status;

            status = 0;
            try
            {
                status         = dalUserTickets.DeleteUserTickets(this);
                dalUserTickets = null;
            }
            catch (Exception ex)
            {
            }
            return(status);
        }
        public long UpdateData()
        {
            DalUserTickets dalUserTickets = new DalUserTickets();
            long           status;

            status = 0;
            try
            {
                _UserAction    = 2;
                status         = dalUserTickets.UpdateUserTickets(this);
                dalUserTickets = null;
            }
            catch (Exception ex)
            {
            }
            return(status);
        }
        public long UpdateDescriptionData()
        {
            long           status;
            DalUserTickets dalUserTickets = new DalUserTickets();

            status = 0;
            try
            {
                _UserAction    = 1;
                status         = dalUserTickets.UpdateDescriptionData(this);
                dalUserTickets = null;
            }
            catch (Exception ex)
            {
            }
            return(status);
        }