public void loadcry()
{
string ppp = string.Empty;
ppp = txtPONo.Text.Trim();
SqlConnection Cn = new SqlConnection(StrCon);
SqlDataAdapter Ada = new SqlDataAdapter("select * from PORECEIPTMASTER WHERE PONO='" + ppp + "'", Cn);
//DataTable dt = new DataTable();
DataSet Ds = new DataSet();
Ada.Fill(Ds);
rep = new ReportDocument();
rep.Load(Server.MapPath("~/CrystalRptPOReceipt.rpt"));
rep.SetDataSource(Ds.Tables[0]);
rptPOReceipt.ReportSource = rep;
rep.PrintToPrinter(1, true, 0, 0);
rptPOReceipt.DataBind();
rptPOReceipt.RefreshReport();
}