Example #1
0
        public void CarregaConsole()
        {
            try
            {
                DataSet retorno = new DataSet();

                pConsole console = new pConsole();

                retorno = console.CarregaConsole();
                if (retorno.Tables[0].Rows.Count > 0)
                {
                    ddlConsole.CarregaCombo(retorno, "codConsole", "Console");
                }

            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
            }

        }
Example #2
0
        public void CarregaConsole()
        {
            try
            {
                DataSet retorno = new DataSet();

                pConsole console = new pConsole();

                retorno = console.CarregaConsole();
                if (retorno.Tables[0].Rows.Count > 0)
                {
                    ddlConsole.CarregaCombo(retorno, "codConsole", "Console");
                    ddlConsoleCadastro.CarregaCombo(retorno,"codConsole","Console");
                }

            }
            catch (Exception ex)
            {
                    
            }

        }
Example #3
0
        public void CarregaGrid()
        {
            pConsole console = new pConsole();


            DataSet set = console.CarregaConsole() ;
            lvPesquisa.CarregaLv(set);
        }