Click here to Skip to main content
15,883,623 members
Articles / Web Development / ASP.NET

Three Tier Code Generator For ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.78/5 (34 votes)
8 Jul 200512 min read 425.2K   22.2K   251  
Generates three tier code for ASP.NET.
Admins

File: Components/Interface/IAdmin.cs
Interface: Admin Class
Description: This interface defines the properties to be implemented by the class of business tier which encapsulates, all data logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Components/Data/Admin.cs
Class: Admin Class
Description: This class belongs to Data Access tier which encapsulates, all data logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Components/BusinessAdmin.cs
Class: Admin Class
Description: This class belongs to Business tier which encapsulates all business logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Default.aspx
Decription: This is an ASP.net page containing datagrid and it is used to display data  from the Admin_Tb.

File: Default.aspx.cs
Decription: This is a Visual Basic codebehind page containing events for the datagrid and it is used to display and edit data from the Admin_Tb.

File: AddAdmin.aspx
Decription: This is an ASP.net page containing webcontrols and it adds data to the Admin_Tb.

File: AddAdmin.aspx.cs
Decription: This is a Visual Basic codebehind page containing events for the webcontrols and it adds data to the Admin_Tb.

File: UpdateAdmin.aspx
Decription: This is an ASP.net page containing webcontrols and it updates data to the Admin_Tb.

File: UpdateAdmin.aspx.cs
Decription: This is a Visual Basic codebehind page containing events for the webcontrols and it updates data to the Admin_Tb.

File: Admin_Tb.sql
Decription: This is a sql script to create Admin_Tb.

File: AddAdmin_Tb.sql
Decription: This is a sql procedure which adds data to the Admin_Tb.

File: UpdateAdmin_Tb.sql
Decription: This is a sql procedure which updates data to the Admin_Tb.

File: DeleteAdmin_Tb.sql
Decription: This is a sql procedure which deletes data to the Admin_Tb.

File: ShowAdmin_Tb.sql
Decription: This is a sql procedure which shows data from the Admin_Tb.

File: SelectAdmin_Tb.sql
Decription: This is a sql procedure which selects a single record from the Admin_Tb.


Admins

File: Components/Interface/IAdmin.vb
Interface: Admin Class
Description: This interface defines the properties to be implemented by the class of business tier which encapsulates, all data logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Components/Data/Admin.vb
Class: Admin Class
Description: This class belongs to Data Access tier which encapsulates, all data logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Components/BusinessAdmin.vb
Class: Admin Class
Description: This class belongs to Business tier which encapsulates all business logic necessary to add/update/query/delete records of Admin_Tb within database.

File: Default.aspx
Decription: This is an ASP.net page containing datagrid and it is used to display data  from the Admin_Tb.

File: Default.aspx.vb
Decription: This is a Visual Basic codebehind page containing events for the datagrid and it is used to display and edit data from the Admin_Tb.

File: AddAdmin.aspx
Decription: This is an ASP.net page containing webcontrols and it adds data to the Admin_Tb.

File: AddAdmin.aspx.vb
Decription: This is a Visual Basic codebehind page containing events for the webcontrols and it adds data to the Admin_Tb.

File: UpdateAdmin.aspx
Decription: This is an ASP.net page containing webcontrols and it updates data to the Admin_Tb.

File: UpdateAdmin.aspx.vb
Decription: This is a Visual Basic codebehind page containing events for the webcontrols and it updates data to the Admin_Tb.

File: Admin_Tb.sql
Decription: This is a sql script to create Admin_Tb.

File: AddAdmin_Tb.sql
Decription: This is a sql procedure which adds data to the Admin_Tb.

File: UpdateAdmin_Tb.sql
Decription: This is a sql procedure which updates data to the Admin_Tb.

File: DeleteAdmin_Tb.sql
Decription: This is a sql procedure which deletes data to the Admin_Tb.

File: ShowAdmin_Tb.sql
Decription: This is a sql procedure which shows data from the Admin_Tb.

File: SelectAdmin_Tb.sql
Decription: This is a sql procedure which selects a single record from the Admin_Tb.


By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here


Written By
Software Developer (Senior)
Australia Australia
Stevan is a Microsoft Certified Solutions Developer in .Net Architecture (MCSD.Net Early Achiever – one among the first 2500 worldwide), Microsoft Certified Application Developer in .Net – MCAD.Net (Charter Member - one among the first 5000 developers worldwide).

Comments and Discussions