Development and Download System with ASP and net (I) overall architecture
In the era of rapid Internet development, many websites have their own download systems! In ASP and net, we can quickly complete a download system module.
System Model:
The screen effects of the system are as follows:
I don't know if you have noticed that this table-based data list method has been applied on many websites! Another way is to click a piece of data, pop up a form, and then execute the user's operations. This method still works well!
To achieve classification information, the left side of the window on the main interface is a Web Treeview control, implementing tree classification!
The layout of this interface is the best way to operate in this system!
This method can be used in many systems! (Because it is an introduction, it is just a simple download system! It is easy to expand on this basis! If you need more extensive display effects, you can use the datalist control in Asp.net, which is currently a DataGrid)
Background Database
Table creation: Down download information table
Downclass download information category
Create Table [downclass] (
[ID] [int] identity (1, 1) not null,
[Classname] [nvarchar] (50) Collate chinese_prc_ci_as null,
Constraint [pk_downclass] primary key clustered
(
[ID]
) On [primary]
) On [primary]
Go
Create Table [Down] (
[ID] [int] identity (1, 1) not null,
[Classid] [int] Null,
[Title] [nvarchar] (50) Collate chinese_prc_ci_as null,
[Description] [nvarchar] (200) Collate chinese_prc_ci_as null,
[Filename] [nvarchar] (100) Collate chinese_prc_ci_as null,
[Uploadtime] [smalldatetime] Null constraint [df_down_uploadtime] default (getdate ()),
[Totaldown] [int] Null,
Constraint [pk_down] primary key clustered
(
[ID]
) On [primary],
Constraint [fk_down_downclass] foreign key
(
[Classid]
) References [downclass] (
[ID]
)
) On [primary]
Go
The screen effects of the system are as follows:
--------------------------------------------------------------------------
Author: lihonggen0
Personal column:Http://www.csdn.net/develop/author/netauthor/lihonggen0/
If you need to quote it, please specify the source! The purpose of the software is to apply it. This article can be freely reproduced!
--------------------------------------------------------------------------