public int count_hoadon_ban(HOADON_PUBLIC hoadon_public) { int parameter = 1; string[] name = new string[parameter]; object[] values = new object[parameter]; name[0] = "@IDBAN"; values[0] = hoadon_public.IDBAN; string sql = "DEMSOHD_OFBAN"; return(ketnoi.ReturnValueIntWithParameter(sql, name, values, parameter)); }
public int check_taikhoan(TAIKHOAN_PUBLIC taikhoan_public) { int parameter = 2; string[] name = new string[parameter]; object[] values = new object[parameter]; name[0] = "@TENTK"; name[1] = "@MATKHAU"; values[0] = taikhoan_public.TENTK; values[1] = taikhoan_public.MATKHAU; string sql = "CHECK_TAIKHOAN"; return(ketnoi.ReturnValueIntWithParameter(sql, name, values, parameter)); }