TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Darpan Tater
NA
8
571
cannot implicitily convert type bool to sysytem.data.dataset
May 9 2018 1:58 AM
#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
Reply
Answers (
1
)
Global.asax file is optional in Asp.Net MVC ?
how to retrieved data from given id and without using EF?