Esempio n. 1
0
        private void button4_Click(object sender, EventArgs e)
        {
            rMegrendeles rMegr = new rMegrendeles();

            rMegr.SetParameterValue("ID",textBox1.Text);
            rMegr.SetDatabaseLogon("sa", "x");
            rMegr.PrintOptions.PrinterName = DEFS.getdefaultprinter();
            crystalReportViewer1.ReportSource = rMegr;
        }