Esempio n. 1
0
        public DataSet Sucursales()
        {
            string      Conexion = Properties.Settings.Default.Conexion;
            ProductosDb xListado = new ProductosDb();
            DataSet     Listado  = new DataSet();

            try
            {
                Listado = xListado.Sucursales(Conexion);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(Listado);
        }
Esempio n. 2
0
        public DataSet ExistenciaNombre(string Nombre)
        {
            string      Conexion = Properties.Settings.Default.Conexion;
            ProductosDb xListado = new ProductosDb();
            DataSet     Listado  = new DataSet();

            try
            {
                Listado = xListado.ExistenciaNombre(Nombre, Conexion);
            }
            catch (Exception ex)
            {
                throw ex;
            }
            return(Listado);
        }