Пример #1
0
        private void btn_Enviar_Click(object sender, EventArgs e)
        {
            Llista Informe_2 = new Llista();

            Informe_2.RecordSelectionFormula = "{Planets.DescPlanet} = \"" + planeta + "\"";
            Informe_2.SetDatabaseLogon("sa", "123456aA!");
            crv_Informe.ReportSource = Informe_2;
            crv_Informe.Refresh();
            Llista1.Refresh();
        }
Пример #2
0
        private void button1_Click(object sender, EventArgs e)
        {
            Llista rpt = new Llista();

            rpt.RecordSelectionFormula = "{Planets.DescPlanet} = \"" + planeta + "\"";
            rpt.SetDatabaseLogon("sa", "123456aA!");
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            Llista1.Refresh();
        }
Пример #3
0
        private void button1_Click(object sender, EventArgs e)
        {
            Llista rpt = new Llista();

            rpt.RecordSelectionFormula        = "{Planets.DescPlanet} = \"" + planeta + "\"";
            crystalReportViewer1.ReportSource = rpt;
            crystalReportViewer1.Refresh();
            //Llista1.RecordSelectionFormula = "{Planets.DescPlanet} = \"" + planeta + "\"";
            Llista1.Refresh();
        }