Example #1
0
        public qlComputerDataContext getDatacontex()
        {
            string str = @"Data Source=DESKTOP-5UEUS4J\LEDUYEN;Initial Catalog=ComputerManager;Integrated Security=True;Encrypt=False;TrustServerCertificate=True";

            dt = new qlComputerDataContext(str);
            dt.Connection.Open();
            return(dt);
        }
Example #2
0
 public clsPhongHoc()
 {
     dt = getDatacontex();
 }
Example #3
0
 public clsMayTinh()
 {
     dt = getDatacontex();
 }
Example #4
0
 public clsHonLoan()
 {
     dt = getDatacontex();
 }