- #region Print Patient Consultation
- protected void printPatientConsultation(string strOption)
- {
- lblMessage.Visible = false;
- ReportDocument rptDoc = new ReportDocument();
- System.IO.MemoryStream oStream = new System.IO.MemoryStream();
- rptDoc.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4;
- rptDoc.PrintOptions.PaperOrientation = PaperOrientation.Landscape;
- string strUserName = Session["USER"].ToString();
- PatientBL objPatientBL = new PatientBL();
- int numCompID = Convert.ToInt32(Session["COMPID"]);
- int numClinicid = 0;
- string strClinicids = "";
- if (ddlclinic.SelectedValue != "")
- {
- numClinicid = Convert.ToInt32(ddlclinic.SelectedValue);
- }
- else
- {
- strClinicids = Session["CLINICIDS"].ToString();
- }
- DataSet objPatientDS = objPatientBL.PrintPatientConsultation(numCompID);
this gray line show me error cannot implicitily convert type bool to sysytem.data.dataset
pls help me to solve error