protected void Button1_Click1(object sender, EventArgs e)
{
ReportDocument rd = new ReportDocument();
rd.Load(Server.MapPath("DegreeCertificate.rpt"));
rd.PrintOptions.PrinterName = @\\tc\HPLaserJ1018";
rd.SetParameterValue(0 , "@usn;);
rd.PrintToPrinter(1, false, 1, 1);
}
this is the code i m using to print crystal report but in the line
rd.PrintToPrinter(1, false, 1, 1); i m getting error as missing parameters..plss help me out to solve this problem