Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

how can use crystal report for a particular person

$
0
0

i have a table of employee and i want generate crystal report for a particular employee by using ID of employee.

code of my crystal report:

protected void Page_Load(object sender, EventArgs e)
    {
        showreport();
    }
    private void showreport()
    {
        ReportDocument rd = new ReportDocument();
        if (Session["rptType"].ToString() == "Item")
        {
            rd.Load(Server.MapPath("~/CrystalReport.rpt"));
            CrystalReportViewer1.ReportSource = rd;
        }
    }


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>