SlideShare ist ein Scribd-Unternehmen logo
1 von 12
GUI Applications Development Using .NET Framework
Objectives


                In this session, you will learn to:
                   Identify the functionality of Crystal Reports




     Ver. 1.0                         Session 7                    Slide 1 of 12
GUI Applications Development Using .NET Framework
Introducing Crystal Reports


                Crystal Reports is the standard reporting tool for Visual
                Studio .NET, used to display data in a presentable manner.
                Creating a Crystal Reports requires minimal coding
                because it is created in a designer interface.




     Ver. 1.0                      Session 7                        Slide 2 of 12
GUI Applications Development Using .NET Framework
Data Access Through Crystal Reports


                Crystal Reports requires database drivers to connect to a
                data source for accessing data.
                Crystal Reports in Visual C# support methods to access
                data from a data source. These methods are:
                 – The Pull Model    In this model data is accessed
                 – The Push Model    from the data source and the
                                     database driver directly retrieves
                                     data from the data source.


                                    DATA
                       CRYSTAL                  DATA SOURCE
                       REPORTS




     Ver. 1.0                       Session 7                             Slide 3 of 12
GUI Applications Development Using .NET Framework
Data Access Through Crystal Reports (Contd.)


                Crystal Reports requires database drivers to connect to a
                data source for accessing data.
                Crystal Reports in Visual C# support methods to access
                data from a data source. These methods are:
                 – The Pull Model
                 – The Push Model      In this model the developer writes code to
                                       connect to the data source and retrieves
                                       data from it. The data from the data
                                       source is cached in a dataset and multiple
                                       Crystal Reports access the data from the
                                       dataset.
                               Data               Data
                     CRYSTAL          DATASET            DATA SOURCE
                     REPORT




     Ver. 1.0                         Session 7                            Slide 4 of 12
GUI Applications Development Using .NET Framework
Just a minute


                Name the reporting model that does not require the
                developer to write code for creating a connection and
                retrieving data from the data source.




                Answer:
                   The Pull Model


     Ver. 1.0                       Session 7                       Slide 5 of 12
GUI Applications Development Using .NET Framework
Creating Crystal Reports


                You can create Crystal Reports by using any one of the
                following methods:
                   Manually
                   Using Standard Report Wizard
                   From an existing report
                Let us see how the reports can be created using these
                methods.




     Ver. 1.0                      Session 7                       Slide 6 of 12
GUI Applications Development Using .NET Framework
Enhance the Crystal Reports


                The presentation quality of a Crystal Reports can be
                enhanced by adding the following components to the
                Crystal Reports:
                   Charts
                   Cross-tab objects




     Ver. 1.0                          Session 7                       Slide 7 of 12
GUI Applications Development Using .NET Framework
Implementing CrystalReportViewer Control in .NET Applications


                The CystalReportViewer is present as a control in the
                Toolbox.
                It can be inserted into a Windows application by dragging
                the CystalReportViewer control from the Toolbox into the
                form.
                Interaction between the CrystalReportViewer control and
                other controls on the Windows Form can be created by
                handling the events of the Windows Form controls and the
                CrystalReportViewer control.




     Ver. 1.0                      Session 7                       Slide 8 of 12
GUI Applications Development Using .NET Framework
Hosting Crystal Report


                After the Crystal Report has been created, it needs to be
                hosted in the Windows application so that the user can view
                the Crystal Reports at run time.
                The two steps for hosting a Crystal Report in a Windows
                application are:
                 1. Adding a Windows Forms Viewer to the Windows Form.
                 2. Binding the CrystalReportViewer control to the created Crystal
                     Reports.
                Let us see how the Crystal Report can be hosted in a
                Windows application.




     Ver. 1.0                        Session 7                            Slide 9 of 12
GUI Applications Development Using .NET Framework
Just a minute


                Name the property which is used to specify the source from
                where the Crystal Reports would be accessed.




                Answer:
                   The ReportSource property


     Ver. 1.0                      Session 7                       Slide 10 of 12
GUI Applications Development Using .NET Framework
Viewing Crystal Report


                To view the Crystal Reports data:
                 1. Select debug from the menu bar.
                 2. Select Start from the Debug menu.
                Let us see how the Crystal Report can be viewed in a
                Windows application.




     Ver. 1.0                       Session 7                      Slide 11 of 12
GUI Applications Development Using .NET Framework
Summary


               In this session, you learned that:
                  Crystal Reports is the standard reporting tool for Visual
                  Studio .NET that is used to display data of presentation quality.
                  Crystal Reports use database drivers to connect with the data
                  source for accessing data.
                  Crystal Reports in VC# .NET supports two methods to access
                  data from a data source:
                    •   The Pull model
                    •   The Push model
                  The presentation quality of a Crystal Reports can be enhanced
                  by adding the following components to the Crystal Reports:
                    •   Chart
                    •   Cross-tab objects
                – Crystal Reports can be hosted in a Windows Form by using the
                  Windows Forms Viewer.

    Ver. 1.0                          Session 7                           Slide 12 of 12

Weitere ähnliche Inhalte

Andere mochten auch

Nota Pendidikan Islam Tahun 5 Israk dan Mikraj
Nota Pendidikan Islam Tahun 5 Israk dan MikrajNota Pendidikan Islam Tahun 5 Israk dan Mikraj
Nota Pendidikan Islam Tahun 5 Israk dan MikrajAminuddin Mohamad
 
Generate a report using crystal reports in visual studio 2010 code project
Generate a report using crystal reports in visual studio 2010   code projectGenerate a report using crystal reports in visual studio 2010   code project
Generate a report using crystal reports in visual studio 2010 code projectKaing Menglieng
 
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Slideshare
 
59003881 israk-dan-mikraj
59003881 israk-dan-mikraj59003881 israk-dan-mikraj
59003881 israk-dan-mikrajIdrus Ariffin
 
ASP.NET MVC Performance
ASP.NET MVC PerformanceASP.NET MVC Performance
ASP.NET MVC Performancerudib
 
3-TIER ARCHITECTURE IN ASP.NET MVC
3-TIER ARCHITECTURE IN ASP.NET MVC3-TIER ARCHITECTURE IN ASP.NET MVC
3-TIER ARCHITECTURE IN ASP.NET MVCMohd Manzoor Ahmed
 
Ceramah israk mikraj (1)
Ceramah israk mikraj (1)Ceramah israk mikraj (1)
Ceramah israk mikraj (1)amirqayyum
 
Presentation isra and mi'raj
Presentation isra and mi'rajPresentation isra and mi'raj
Presentation isra and mi'rajOni Eksekutif
 
Power point israk mikraj
Power point israk mikrajPower point israk mikraj
Power point israk mikrajziyah84
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVCKhaled Musaied
 
C# Tutorial
C# Tutorial C# Tutorial
C# Tutorial Jm Ramos
 
.NET and C# Introduction
.NET and C# Introduction.NET and C# Introduction
.NET and C# IntroductionSiraj Memon
 
5. Community Training MINTsax.de - technische Neuerungen 2012
5. Community Training MINTsax.de - technische Neuerungen 20125. Community Training MINTsax.de - technische Neuerungen 2012
5. Community Training MINTsax.de - technische Neuerungen 2012pludoni GmbH
 

Andere mochten auch (19)

Nota Pendidikan Islam Tahun 5 Israk dan Mikraj
Nota Pendidikan Islam Tahun 5 Israk dan MikrajNota Pendidikan Islam Tahun 5 Israk dan Mikraj
Nota Pendidikan Islam Tahun 5 Israk dan Mikraj
 
Generate a report using crystal reports in visual studio 2010 code project
Generate a report using crystal reports in visual studio 2010   code projectGenerate a report using crystal reports in visual studio 2010   code project
Generate a report using crystal reports in visual studio 2010 code project
 
Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010Crystal report generation in visual studio 2010
Crystal report generation in visual studio 2010
 
Crystal report
Crystal reportCrystal report
Crystal report
 
59003881 israk-dan-mikraj
59003881 israk-dan-mikraj59003881 israk-dan-mikraj
59003881 israk-dan-mikraj
 
Setetes Hikmah Isra Mi'raj
Setetes Hikmah Isra Mi'rajSetetes Hikmah Isra Mi'raj
Setetes Hikmah Isra Mi'raj
 
ASP.NET MVC Performance
ASP.NET MVC PerformanceASP.NET MVC Performance
ASP.NET MVC Performance
 
3-TIER ARCHITECTURE IN ASP.NET MVC
3-TIER ARCHITECTURE IN ASP.NET MVC3-TIER ARCHITECTURE IN ASP.NET MVC
3-TIER ARCHITECTURE IN ASP.NET MVC
 
Ceramah israk mikraj (1)
Ceramah israk mikraj (1)Ceramah israk mikraj (1)
Ceramah israk mikraj (1)
 
Presentation isra and mi'raj
Presentation isra and mi'rajPresentation isra and mi'raj
Presentation isra and mi'raj
 
Power point israk mikraj
Power point israk mikrajPower point israk mikraj
Power point israk mikraj
 
Isra’ and mi’raj
Isra’ and mi’rajIsra’ and mi’raj
Isra’ and mi’raj
 
Introduction to ASP.NET MVC
Introduction to ASP.NET MVCIntroduction to ASP.NET MVC
Introduction to ASP.NET MVC
 
08. Numeral Systems
08. Numeral Systems08. Numeral Systems
08. Numeral Systems
 
Programming in c#
Programming in c#Programming in c#
Programming in c#
 
C# Tutorial
C# Tutorial C# Tutorial
C# Tutorial
 
.NET and C# Introduction
.NET and C# Introduction.NET and C# Introduction
.NET and C# Introduction
 
Ajs 1 b
Ajs 1 bAjs 1 b
Ajs 1 b
 
5. Community Training MINTsax.de - technische Neuerungen 2012
5. Community Training MINTsax.de - technische Neuerungen 20125. Community Training MINTsax.de - technische Neuerungen 2012
5. Community Training MINTsax.de - technische Neuerungen 2012
 

Ähnlich wie 05 gui 07

Vb net xp_08
Vb net xp_08Vb net xp_08
Vb net xp_08Niit Care
 
Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1confluent
 
Vb.net session 08
Vb.net session 08Vb.net session 08
Vb.net session 08Niit Care
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperKarthik Reddy
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperKarthik Reddy
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptxsamreen82
 
Crystal Report Configuration Using xCP Designer 2.1
Crystal Report Configuration Using xCP Designer 2.1Crystal Report Configuration Using xCP Designer 2.1
Crystal Report Configuration Using xCP Designer 2.1Haytham Ghandour
 
Crystal report
Crystal reportCrystal report
Crystal reportEverywhere
 
Build business applications with visual studio light switch
Build business applications with visual studio light switchBuild business applications with visual studio light switch
Build business applications with visual studio light switchNuchit Atjanawat
 
Building 12-factor Cloud Native Microservices
Building 12-factor Cloud Native MicroservicesBuilding 12-factor Cloud Native Microservices
Building 12-factor Cloud Native MicroservicesJakarta_EE
 
Krishna_Divagar_Kumaresan
Krishna_Divagar_KumaresanKrishna_Divagar_Kumaresan
Krishna_Divagar_KumaresanKrishna Divagar
 

Ähnlich wie 05 gui 07 (20)

Vb net xp_08
Vb net xp_08Vb net xp_08
Vb net xp_08
 
crystal report
crystal reportcrystal report
crystal report
 
Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1Build Event-Driven Microservices with Confluent Cloud Workshop #1
Build Event-Driven Microservices with Confluent Cloud Workshop #1
 
Vb.net session 08
Vb.net session 08Vb.net session 08
Vb.net session 08
 
Shraddha_Muchandi
Shraddha_MuchandiShraddha_Muchandi
Shraddha_Muchandi
 
01 gui 01
01 gui 0101 gui 01
01 gui 01
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
Actively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net DeveloperActively looking for an opportunity to work as a challenging Dot Net Developer
Actively looking for an opportunity to work as a challenging Dot Net Developer
 
crystalReport.pptx
crystalReport.pptxcrystalReport.pptx
crystalReport.pptx
 
.net Framework
.net Framework.net Framework
.net Framework
 
Crystal Report Configuration Using xCP Designer 2.1
Crystal Report Configuration Using xCP Designer 2.1Crystal Report Configuration Using xCP Designer 2.1
Crystal Report Configuration Using xCP Designer 2.1
 
PRASAD
PRASAD PRASAD
PRASAD
 
Crystal report
Crystal reportCrystal report
Crystal report
 
Build business applications with visual studio light switch
Build business applications with visual studio light switchBuild business applications with visual studio light switch
Build business applications with visual studio light switch
 
SeniorNET Bhanu Resume
SeniorNET Bhanu ResumeSeniorNET Bhanu Resume
SeniorNET Bhanu Resume
 
Sivagama_sundari_Sakthivel_Resume_2016
Sivagama_sundari_Sakthivel_Resume_2016Sivagama_sundari_Sakthivel_Resume_2016
Sivagama_sundari_Sakthivel_Resume_2016
 
new final CV
new final CVnew final CV
new final CV
 
Building 12-factor Cloud Native Microservices
Building 12-factor Cloud Native MicroservicesBuilding 12-factor Cloud Native Microservices
Building 12-factor Cloud Native Microservices
 
Krishna_Divagar_Kumaresan
Krishna_Divagar_KumaresanKrishna_Divagar_Kumaresan
Krishna_Divagar_Kumaresan
 
Lalith Thota
Lalith ThotaLalith Thota
Lalith Thota
 

Mehr von Niit Care (20)

Ajs 4 b
Ajs 4 bAjs 4 b
Ajs 4 b
 
Ajs 4 a
Ajs 4 aAjs 4 a
Ajs 4 a
 
Ajs 4 c
Ajs 4 cAjs 4 c
Ajs 4 c
 
Ajs 3 b
Ajs 3 bAjs 3 b
Ajs 3 b
 
Ajs 3 a
Ajs 3 aAjs 3 a
Ajs 3 a
 
Ajs 3 c
Ajs 3 cAjs 3 c
Ajs 3 c
 
Ajs 2 b
Ajs 2 bAjs 2 b
Ajs 2 b
 
Ajs 2 a
Ajs 2 aAjs 2 a
Ajs 2 a
 
Ajs 2 c
Ajs 2 cAjs 2 c
Ajs 2 c
 
Ajs 1 a
Ajs 1 aAjs 1 a
Ajs 1 a
 
Ajs 1 c
Ajs 1 cAjs 1 c
Ajs 1 c
 
Dacj 4 2-c
Dacj 4 2-cDacj 4 2-c
Dacj 4 2-c
 
Dacj 4 2-b
Dacj 4 2-bDacj 4 2-b
Dacj 4 2-b
 
Dacj 4 2-a
Dacj 4 2-aDacj 4 2-a
Dacj 4 2-a
 
Dacj 4 1-c
Dacj 4 1-cDacj 4 1-c
Dacj 4 1-c
 
Dacj 4 1-b
Dacj 4 1-bDacj 4 1-b
Dacj 4 1-b
 
Dacj 4 1-a
Dacj 4 1-aDacj 4 1-a
Dacj 4 1-a
 
Dacj 1-2 b
Dacj 1-2 bDacj 1-2 b
Dacj 1-2 b
 
Dacj 1-3 c
Dacj 1-3 cDacj 1-3 c
Dacj 1-3 c
 
Dacj 1-3 b
Dacj 1-3 bDacj 1-3 b
Dacj 1-3 b
 

Kürzlich hochgeladen

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdfChristopherTHyatt
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfhans926745
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 

Kürzlich hochgeladen (20)

How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 

05 gui 07

  • 1. GUI Applications Development Using .NET Framework Objectives In this session, you will learn to: Identify the functionality of Crystal Reports Ver. 1.0 Session 7 Slide 1 of 12
  • 2. GUI Applications Development Using .NET Framework Introducing Crystal Reports Crystal Reports is the standard reporting tool for Visual Studio .NET, used to display data in a presentable manner. Creating a Crystal Reports requires minimal coding because it is created in a designer interface. Ver. 1.0 Session 7 Slide 2 of 12
  • 3. GUI Applications Development Using .NET Framework Data Access Through Crystal Reports Crystal Reports requires database drivers to connect to a data source for accessing data. Crystal Reports in Visual C# support methods to access data from a data source. These methods are: – The Pull Model In this model data is accessed – The Push Model from the data source and the database driver directly retrieves data from the data source. DATA CRYSTAL DATA SOURCE REPORTS Ver. 1.0 Session 7 Slide 3 of 12
  • 4. GUI Applications Development Using .NET Framework Data Access Through Crystal Reports (Contd.) Crystal Reports requires database drivers to connect to a data source for accessing data. Crystal Reports in Visual C# support methods to access data from a data source. These methods are: – The Pull Model – The Push Model In this model the developer writes code to connect to the data source and retrieves data from it. The data from the data source is cached in a dataset and multiple Crystal Reports access the data from the dataset. Data Data CRYSTAL DATASET DATA SOURCE REPORT Ver. 1.0 Session 7 Slide 4 of 12
  • 5. GUI Applications Development Using .NET Framework Just a minute Name the reporting model that does not require the developer to write code for creating a connection and retrieving data from the data source. Answer: The Pull Model Ver. 1.0 Session 7 Slide 5 of 12
  • 6. GUI Applications Development Using .NET Framework Creating Crystal Reports You can create Crystal Reports by using any one of the following methods: Manually Using Standard Report Wizard From an existing report Let us see how the reports can be created using these methods. Ver. 1.0 Session 7 Slide 6 of 12
  • 7. GUI Applications Development Using .NET Framework Enhance the Crystal Reports The presentation quality of a Crystal Reports can be enhanced by adding the following components to the Crystal Reports: Charts Cross-tab objects Ver. 1.0 Session 7 Slide 7 of 12
  • 8. GUI Applications Development Using .NET Framework Implementing CrystalReportViewer Control in .NET Applications The CystalReportViewer is present as a control in the Toolbox. It can be inserted into a Windows application by dragging the CystalReportViewer control from the Toolbox into the form. Interaction between the CrystalReportViewer control and other controls on the Windows Form can be created by handling the events of the Windows Form controls and the CrystalReportViewer control. Ver. 1.0 Session 7 Slide 8 of 12
  • 9. GUI Applications Development Using .NET Framework Hosting Crystal Report After the Crystal Report has been created, it needs to be hosted in the Windows application so that the user can view the Crystal Reports at run time. The two steps for hosting a Crystal Report in a Windows application are: 1. Adding a Windows Forms Viewer to the Windows Form. 2. Binding the CrystalReportViewer control to the created Crystal Reports. Let us see how the Crystal Report can be hosted in a Windows application. Ver. 1.0 Session 7 Slide 9 of 12
  • 10. GUI Applications Development Using .NET Framework Just a minute Name the property which is used to specify the source from where the Crystal Reports would be accessed. Answer: The ReportSource property Ver. 1.0 Session 7 Slide 10 of 12
  • 11. GUI Applications Development Using .NET Framework Viewing Crystal Report To view the Crystal Reports data: 1. Select debug from the menu bar. 2. Select Start from the Debug menu. Let us see how the Crystal Report can be viewed in a Windows application. Ver. 1.0 Session 7 Slide 11 of 12
  • 12. GUI Applications Development Using .NET Framework Summary In this session, you learned that: Crystal Reports is the standard reporting tool for Visual Studio .NET that is used to display data of presentation quality. Crystal Reports use database drivers to connect with the data source for accessing data. Crystal Reports in VC# .NET supports two methods to access data from a data source: • The Pull model • The Push model The presentation quality of a Crystal Reports can be enhanced by adding the following components to the Crystal Reports: • Chart • Cross-tab objects – Crystal Reports can be hosted in a Windows Form by using the Windows Forms Viewer. Ver. 1.0 Session 7 Slide 12 of 12

Hinweis der Redaktion

  1. Start the session by sharing the session objectives with the students.
  2. The faculty can take the same example as given in the SG to discuss the use of crystal report in VC#. In addition, the faculty can take some other example also. Alternatively, the faculty can discuss with the students that they maintain each student’s record and may need to print details for all the students at the end of the month. This detail may include his attendance for the month, the fee detail for the month and any appraisal if it happened. Since all the relevant data is stored in the student’s database, a VC# application is required to extract that data and present that data in a consolidated format. This is done using the Crystal Report tool in Visual Studio .NET. The faculty can discuss the advantages of using this tool. Some of these include: Minimal coding is required. Data can be manipulated as desired, while being presented on the report.
  3. Using this and the next slide, discuss with the students that there are 2 different methods for accessing data from the data source – Pull and the Push model. Discuss these models with the students individually with the help of the diagram.
  4. Reiterate the concepts taught earlier by asking the given question.
  5. The faculty must demonstrate each of these methods for creating crystal reports.
  6. The faculty must explain to the students that the presentation quality of crystal reports can be enhanced with the help of Charts and Cross-tab objects.
  7. Discuss the steps for inserting and using the CrystalReportViewer control in the Windows application.
  8. The faculty must demonstrate the hosting of Crystal Reports in a Windows application. The faculty should also demonstrate the way to view Crystal Report data.
  9. Reiterate the concepts taught earlier by asking the given question.
  10. The faculty should also demonstrate the way to view Crystal Report data.
  11. You can summarize the session by using the summary given in the slides. In addition, you can also ask students summarize what they have learnt in this session.