Advertisement

07.07.2008 at 05:47AM PDT, ID: 23543111
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.5

Dataset with multiple table as datasource to crystal report in asp.net

Asked by urvinayan in .NET, Crystal Reports Software, Programming for ASP.NET

Tags:

I have created a report design using typed dataset
The dataset contain 4 tables.. the tables are created
using already written sProcs.. Hence each table has
got the name of the stored procs lik eg:spGetPatientAccountDetails
In the code i ve attached, dsPatientInfo is the typed dataset

The mapping done perfectly means the first section is ok..
and moreover by typing ds.Tables("sp1").Rows(0)(1).toString
returns me the correct value as i expects.. Hence i think
am doing something wrong in setting the datasource or
something... Help needed... I ve got good knowledge
working with asp.net, vb abd C# but am a newbie to
crystal reports... So a simplified help is appreciated..
Or i would like to see some other code... I dont wanna use
joining of  tablesStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
For Selecting Records for each table
---------------------------------------------------------
dsRetDataSet = New dsPatientInfo
            daAdapter = New SqlDataAdapter(cmdCommand)
            daAdapter.TableMappings.Add("Table", "sp1")
         daAdapter.TableMappings.Add("Table1","spGetPatientAccountDetails")
            daAdapter.TableMappings.Add("Table2", "sp2")
            daAdapter.TableMappings.Add("Table3", "sp3")
            daAdapter.Fill(dsRetDataSet)
return dsRetDataset
-------------------------------------------------------------------
 
The Following assigns crystal report datasource
 
-------------------------------------------------------------------
Dim objDS As New dsPatientInfo
objDS = CType(dsRetDataSet , dsPatientInfo)
objDS.DataSetName = "dsPatientInfo"
Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument
crReportDocument.Load(Server.MapPath("CrptViewPatient.rpt"))
crReportDocument.SetDataSource(objDS)
'sets the report source
rvPatientList.ReportSource = crReportDocument
[+][-]07.07.2008 at 10:10AM PDT, ID: 21946783

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: .NET, Crystal Reports Software, Programming for ASP.NET
Tags: asp.net,vb.net,crystal reports
Sign Up Now!
Solution Provided By: mlmcc
Participating Experts: 1
Solution Grade: B
 
 
[+][-]07.07.2008 at 09:00PM PDT, ID: 21950782

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.07.2008 at 09:03PM PDT, ID: 21950787

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.08.2008 at 05:23AM PDT, ID: 21953039

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]07.09.2008 at 02:32AM PDT, ID: 21961746

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 04:38AM PDT, ID: 21962403

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.09.2008 at 04:48AM PDT, ID: 21962457

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 10:39AM PDT, ID: 21975783

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.10.2008 at 07:44PM PDT, ID: 21979570

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628