Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
BCA IPU VB.NET UNIT-IV
1. FEDT VB.NET
F R O N T E N D D E S I G N T O O L
U S I N G
V B . N E T
P R E S E N T A T I O N B Y :
A N K I T V E R M A
( I T D E P A R T M E N T )
A N K I T V E R M A A S S T . P R O F E S S O R
U N I T - 4
3. Evolution Of ADO .NET
Database is required by organization to retrieve,
manipulate and update huge amount of data.
Data Access Model (DAO)
First model used for connectivity.
This model followed by VB and mainly by Jet Engine Database.
Problem:
Performance not so good.
Remote Data Object (RDO)
Introduced for remote database like Oracle and SQL Server.
28-11-2014 ANKIT VERMA 3
4. Evolution Of ADO .NET
ActiveX Data Object (ADO)
Specially designed for Client-Server architecture.
Good for Relational and Non-Relational databases.
Problem:
Connected Data Access, which leads to Security, Performance issue
and Network Traffic.
ADO .NET
Eliminated problems found with earlier models.
Widely used access technology for connectivity.
Fulfil needs of developer and built upon .NET framework.
Used by application to communicate with database for all
database operations.
28-11-2014 ANKIT VERMA 4
5. Evolution Of ADO .NET
Main Features:
Disconnected architecture.
Integration with XML.
Data from multiple data stores.
Optimized performance for connecting with database.
Uniform database access technology
Common type system
Design pattern
Exception handling
28-11-2014 ANKIT VERMA 5
6. ADO .NET Description
Data access component for .NET Framework.
Enable communication with Database as well as other
Structures like Array, Collection etc.
Supports data centric application development and use
disconnected architecture for accessing data.
Support all types of databases for retrieving, accessing and
updating data.
ADO.NET establish connection with data source, send
query, update statement of data source and return result.
Results either processed directly or stored in data set
object.
28-11-2014 ANKIT VERMA 6
7. Features of ADO .NET
Disconnected data architecture
Connection established only when required.
Avoid wastage of Resource & improve performance.
Scalability
Work with dataset without connecting with database.
Can meet increasing demands of database users more efficiently.
Interoperability
Data transfer is achieved by using XML format.
XML is standard format for exchanging data in different application.
Increase safety of code and reduce compilation errors.
Separation of data logic and interface.
Enables integration of data from multiple heterogeneous data sources.
Uses COM+ based connection pooling.
28-11-2014 ANKIT VERMA 7
8. ADO .NET Object Model
28-11-2014 ANKIT VERMA 8
DATA SET NET DATA PROVIDER
SERVER
Data Table
Database
Data Adapter
Command
Connection
9. Data Provider
SQL Server Data Provider
Connect with Microsoft SQL Server.
System.Data.SQLClient namespace is used.
OLEDB Data Provider
Connect with OLEDB data source like Oracle, Jet and SQL.
System.Data.OLEDB namespace is used.
ODBC Data Provider
Connect with ODBC data sources.
System.Data.ODBC namespace is used.
Oracle Data Provider
Connect with Oracle data sources.
System.Data.OracleClient namespace is used.
28-11-2014 ANKIT VERMA 9
10. Dataset Object Model
28-11-2014 ANKIT VERMA 10
DATASET
Tables
Collection
Data Table
Relation
Collection
Data
Relation
Columns
Collection
Rows
Collection
Constraints
Collection
Data
Columns
Data Row Constraint
79. Crystal Report
Best way to represent data in concise manner.
Provide way to organize, categorize & summarize data.
Report format the data according to user requirement.
Display data in attractive manner.
User can view report and take printout.
Report can be mailed very easily to any department.
Grouping and sorting can be performed on report.
Crystal report can generate report from various format
sources like database, excel, XLM etc.
Crystal report can be downloaded from Internet for Visual
Studio 2010, as it is compatible with .NET
28-11-2014 ANKIT VERMA 79
80. Crystal Report : 5 Parts
Report Header:
Content placed in this section print once, at beginning of report.
Section contains Report Title, other information etc. that we want to
display at beginning of report.
Report Footer:
Content placed in this section print once, at the end of report.
Section used to contain information such as grand total, summary etc.
Page Header:
Content placed in this section print at beginning of each new page.
Section contains information that you want to display on each page
like Chapter Name, Document Name, Field Title etc.
28-11-2014 ANKIT VERMA 80
81. Crystal Report : 5 Parts
Page Footer:
The contents placed in this section print at the bottom of each page.
It contains Page Number, Report Date, Author Name etc.
Details:
The content placed in this section print with each record of database.
It contains the entire data for the body of report.
When we run the report, this section is reprinted for each record.
28-11-2014 ANKIT VERMA 81