示例#1
0
        public string BorraListaProducto(int pIdListaProducto)
        {
            E_ListaProducto Entidad = new E_ListaProducto
            {
                Accion          = "BORRAR",
                IdListaProducto = pIdListaProducto
            };

            return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, Entidad));
        }
示例#2
0
        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();
        }
示例#3
0
 public string ModoficaListaProducto(E_ListaProducto pEntidad)
 {
     pEntidad.Accion = "MODIFICAR";
     return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, pEntidad));
 }
示例#4
0
 public string InsertarListaProductol(E_ListaProducto pEntidad)
 {
     pEntidad.Accion = "INSERTAR";
     return(ObjIBM.IBM_Entidad <E_ListaProducto>(Sp, pEntidad));
 }