public int themtienkham(TIENKHAMdto p) { int thamso = 2; string[] name = new string[thamso]; object[] values = new object[thamso]; name[0] = "@tien"; name[1] = "@ngaysuatien"; values[0] = p.Tien; values[1] = p.Ngaysuatien; return ketnoi.update("themtienkham", name, values, thamso); }
public int themtienkham(TIENKHAMdto p) { return tk.themtienkham(p); }