Darpan Tater

Darpan Tater

  • 1.9k
  • 8
  • 227

cannot implicitily convert type bool to sysytem.data.dataset

May 9 2018 1:58 AM
  1. #region Print Patient Consultation  
  2. protected void printPatientConsultation(string strOption)  
  3. {  
  4. lblMessage.Visible = false;  
  5. ReportDocument rptDoc = new ReportDocument();  
  6. System.IO.MemoryStream oStream = new System.IO.MemoryStream();  
  7. rptDoc.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4;  
  8. rptDoc.PrintOptions.PaperOrientation = PaperOrientation.Landscape;  
  9. string strUserName = Session["USER"].ToString();  
  10. PatientBL objPatientBL = new PatientBL();  
  11. int numCompID = Convert.ToInt32(Session["COMPID"]);  
  12. int numClinicid = 0;  
  13. string strClinicids = "";  
  14. if (ddlclinic.SelectedValue != "")  
  15. {  
  16. numClinicid = Convert.ToInt32(ddlclinic.SelectedValue);  
  17. }  
  18. else  
  19. {  
  20. strClinicids = Session["CLINICIDS"].ToString();  
  21. }  
  22. 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

Answers (1)