public string BorraListaProducto(int pIdListaProducto) { E_ListaProducto Entidad = new E_ListaProducto { Accion = "BORRAR", IdListaProducto = pIdListaProducto }; return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, Entidad)); }
protected void grvListas_SelectedIndexChanged(object sender, EventArgs e) { int IdProducto = Convert.ToInt16(Session["IdProducto"]); int IdLista = Convert.ToInt16(grvListas.SelectedDataKey["IdLista"]); E_ListaProducto ObjELP = new E_ListaProducto(); ObjELP.IdProducto = IdProducto; ObjELP.IdLista = IdLista; string msn2 = ObjNLP.InsertarListaProductol(ObjELP); Iniciar(); }
public string ModoficaListaProducto(E_ListaProducto pEntidad) { pEntidad.Accion = "MODIFICAR"; return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, pEntidad)); }
public string InsertarListaProductol(E_ListaProducto pEntidad) { pEntidad.Accion = "INSERTAR"; return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, pEntidad)); }