Exemple #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);
        }
 public clsPhongHoc()
 {
     dt = getDatacontex();
 }
Exemple #3
0
 public clsMayTinh()
 {
     dt = getDatacontex();
 }
 public clsHonLoan()
 {
     dt = getDatacontex();
 }