Beispiel #1
0
        private List <SV_MH> list2()
        {
            string       sql   = @"Select * from SV_MH where MaSV='" + txttim.Text + "'";
            SV_MHBus     mh    = new SV_MHBus();
            List <SV_MH> list2 = mh.GetSV_MH(sql);

            return(list2);
        }
Beispiel #2
0
 public List <SV_MH> GetSV_MH()
 {
     try
     {
         string   sql   = "Select * from SV_MH";
         SV_MHBus SV_MH = new SV_MHBus();
         return(SV_MH.GetSV_MH(sql));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }