public int TinTuc_Delete() { int Nparameter = 1; string[] name = new string[Nparameter]; object[] value = new object[Nparameter]; name[0] = "@tintuc_id"; value[0] = MaTinTuc; return(cn.Update("tintuc_delete", name, value, Nparameter)); }
public int BangGia_luu() { int Nparameter = 5; string[] name = new string[Nparameter]; object[] value = new object[Nparameter]; name[0] = "@tengoi"; value[0] = TenGoi; name[1] = "@module"; value[1] = Module; name[2] = "@chiphi"; value[2] = ChiPhi; name[3] = "@duytri"; value[3] = DuyTri; name[4] = "@nguoiviet"; value[4] = NguoiViet; return(cn.Update("sp_banggia_save", name, value, Nparameter)); }
public int Gioithieu_luu() { int Nparameter = 9; string[] name = new string[Nparameter]; object[] value = new object[Nparameter]; name[0] = "@tieude"; value[0] = TieuDe; name[1] = "@diengiai"; value[1] = Gioithieu; name[2] = "@noidung"; value[2] = Noidung; name[3] = "@img"; value[3] = LinkAnh; name[4] = "@TrangThai"; value[4] = TrangThai; name[5] = "@loaidv_id"; value[5] = MaDV; name[6] = "@NgayDang"; value[6] = Ngayviet; name[7] = "@NguoiDang"; value[7] = Nguoiviet; name[8] = "@NguonTrichDan"; value[8] = NguonBaiViet; return(cn.Update("sp_gioithieu_save", name, value, Nparameter)); }