public List<TAPTINTHONGBAO> SelectTAPTINTHONGBAOsAll()
        {
            List<TAPTINTHONGBAO> list = new List<TAPTINTHONGBAO>();
            using (LinQDataContext db = new LinQDataContext(global::DAOAuction.Properties.Settings.Default.webdoantruongConnectionString))
            {
                ISingleResult<TAPTINTHONGBAO_getallResult> lp = db.TAPTINTHONGBAO_getall();
                foreach (TAPTINTHONGBAO_getallResult TAPTINTHONGBAO in lp)
                {
                    TAPTINTHONGBAO var1 = new TAPTINTHONGBAO();
                    var1.MaTapTin  = TAPTINTHONGBAO.MaTapTin ;
                    var1.TenTapTin  = TAPTINTHONGBAO.TenTapTin ;
                    var1.DuongDan  = TAPTINTHONGBAO.DuongDan;
                    var1.MaThongBao  = TAPTINTHONGBAO.MaThongBao;

                    list.Add(var1);
                }
                try
                {
                    // Save the changes.
                    db.SubmitChanges();
                }
                // Detect concurrency conflicts.
                catch (ChangeConflictException)
                {
                    // Resolve conflicts.
                    db.ChangeConflicts.ResolveAll(RefreshMode.KeepChanges);
                }
            }

            return list;
        }