Unit 2
Unit 2
The middle layer contains the data access classes that manage the data
access for the application. This layer can also contain business objects that
represent business entities such as customers, products or employee and
that implement business rules such as credit and discount policies.
Database Layer
This layer consists of the database that contains the data for the application. Ideally
the SQL
statement that do the database access should be saved in stored procedure
within the database, nut the SQL statement are often stored in the data
access classes.
HTML control runs at client side. ASP.Net controls run at server side.
We can run HTML controls at server side by Wecannot run ASP.Net Controls on client
adding attribute runat=”server”. side as these controls have this
attribute runat=”server” by default.
HTML controls are client side controls, so it ASP.Net Controls are Server side controls,
does not provide STATE management. provides STATE management.
HTML control does not require rendering. HTML control does not require rendering.
As HTML controls runs on client side, As ASP.Net controls run on server side,
execution is fast. execution is slow.
HTML controls does not support Object With ASP.Net controls, you have full
Oriented paradigm. support of Object oriented paradigm.
HTML control have limited set of ASP.Net controls have rich set of
properties and/or methods. properties and/or methods.