public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            resultrpt rpt = new resultrpt();

            rpt.Site = this.Site;
            return(rpt);
        }
        protected void Button2_Click(object sender, EventArgs e)
        {
            CultureInfo.CreateSpecificCulture("en-US");
            int userid;

            userid = Convert.ToInt32(TextBox1.Text);
            resultrpt r = new resultrpt();

            CrystalReportViewer1.ReportSource     = r;
            CrystalReportViewer1.SelectionFormula = "{Result.rno}=" + userid + "";
        }
Ejemplo n.º 3
0
        protected void Button1_Click(object sender, EventArgs e)
        {
            resultrpt r = new resultrpt();

            CrystalReportViewer1.ReportSource = r;
        }