Пример #1
0
 public int UpdateData(VeChoiEntity Ve)
 {
     SqlParameter[] para =
     {
         new SqlParameter("MaVe",    Ve.MaVe),
         new SqlParameter("NgayBan", Ve.NgayBan),
         new SqlParameter("MaKhu",   Ve.MaKhu),
         new SqlParameter("MaKH",    Ve.MaKH),
         new SqlParameter("SoVeNL",  Ve.SoVeNL),
         new SqlParameter("SoVeTE",  Ve.SoVeTE),
         new SqlParameter("GiaNL",   Ve.GiaVeNL),
         new SqlParameter("GiaTE",   Ve.GiaVeTE)
     };
     return(conn.ExcuteSQL("Sua_VeChoi", para));
 }
Пример #2
0
 public int UpdateData(VeChoiEntity Ve)
 {
     return(da.UpdateData(Ve));
 }
Пример #3
0
 public int InsertData(VeChoiEntity Ve)
 {
     return(da.InsertData(Ve));
 }