Beispiel #1
0
        public bool ThemDonThuocNhap(DonThuocNhap data)
        {
            try
            {
            }
            catch (Exception ex)
            { }

            return(false);
        }
Beispiel #2
0
 private DonThuocNhap Mappingdata(MySqlDataReader reader)
 {
     try {
         var data = new DonThuocNhap();
         data.DonThuocNhapId = Convert.ToInt32(reader["DonThuocNhapId"]);
         data.SoHoaDon       = reader["SoHoaDon"].ToString();
         data.NgayLap        = Convert.ToDateTime(reader["NgayLap"]);
         data.NguoiLap       = reader["NguoiLap"].ToString();
         data.Cpty           = reader["Cpty"].ToString();
         data.GhiChu         = reader["GhiChu"].ToString();
     }
     catch (Exception ex)
     { }
     return(null);
 }