Building Reports Using ASP.NET and Crystal Reports - Part 4: Dynamic Grouping
page 4 of 9
by Vince Varallo
Feedback
Average Rating: 
Views (Total / Last 10 Days): 43480/ 60

Step 3: Connect to the database

1.    Right click the Database Fields node in the Field Explorer window.

2.    Select Database Expert from the pop-up menu. The Database Expert dialog should appear.

3.    Click the plus(+) sign next to the Create New Connection node from the Available Data Sources.

4.    Click the plus(+) sign next to the OLE DB (ADO) node. A dialog box should appear.

5.    Select SQL Native Client from the Provider list and click the next button.

6.    Enter your SQL Server name, a valid user id and password. Select AdventureWorks as the database and click the Next button.

7.    Click the Finish button.

8.    Click the plus(+) sign next to the AdventureWorks database. Add the following tables to the report by clicking on the table and then use the arrow button (>) to move the table to the Selected Tables list. The tables are Person.Address, Person.Contact, Person.StateProvince, HumanResources.Employee, and HumanResources.EmployeeAddress.

9.    Click the OK button.

Figure 3


View Entire Article

User Comments

Title: CRystal REports Dynamically   
Name: Naresh
Date: 2012-12-07 11:48:18 PM
Comment:
Good
Title: t   
Name: n
Date: 2012-12-07 11:47:21 PM
Comment:
ertt
Title: Another nice article   
Name: Rick
Date: 2009-12-01 4:02:34 PM
Comment:
Easy to follow and godd explainations. Thanks for taking the time to put this article together. I have gone through the other 3 parts and really getting a better feel fot the reports
Title: ASP.NET Crystal Reports Hosting   
Name: Helen
Date: 2009-10-13 8:46:44 PM
Comment:
I real like this article and I could learn more things about Crystal Reports
Thanks

___________________________________________________
http://www.webhost4lifereview.com/crystal-report-web-hosting/
Title: Can anybody help me please?   
Name: Beto
Date: 2009-10-02 12:40:03 PM
Comment:
What's up? I hope you help me... I want to have a report that has 3 pages per sheet... How can I do that? Thanks beforehand =)
Title: Very Nice Artical   
Name: Gaurav Gupta
Date: 2009-09-24 5:13:31 AM
Comment:
Dear Vince Varallo

The article is really great.It is very useful to understand crystal report. And the way of communicating is also very simple.

Thanks
Gaurav Gupta
Title: Problem   
Name: Pankaj Rai
Date: 2009-09-18 2:16:54 AM
Comment:
Dear Vince Varallo,

I have to made a crystal report which show the sum of amount datewise. And also to display all the transaction on particular date when I click on date feild in crystal report.Is there any technique to pass date as parameter for subreport.Please reply ASAP.


Thanks in Advance.
Title: Really Nice Artical   
Name: Pankaj Rai
Date: 2009-09-18 2:13:10 AM
Comment:
I have read this and learn something good regarding crystal report.

Thanks
Title: Very Good   
Name: Edwin
Date: 2009-09-10 10:56:39 AM
Comment:
I have been reading all the 4 parts and its very very usefull. Thanks a million. Just on more wish !!

VB code along with C# would have been amazing. Does your book has VB code as well as C#?

Product Spotlight
Product Spotlight 



Community Advice: ASP | SQL | XML | Regular Expressions | Windows


©Copyright 1998-2024 ASPAlliance.com  |  Page Processed at 2024-05-08 7:42:41 PM  AspAlliance Recent Articles RSS Feed
About ASPAlliance | Newsgroups | Advertise | Authors | Email Lists | Feedback | Link To Us | Privacy | Search