当前位置:网站首页>Based on asp Net based document retrieval system
Based on asp Net based document retrieval system
2022-06-28 14:07:00 【biyezuopinvip】
Resource download address :https://download.csdn.net/download/sheziqiong/85810554
Resource download address :https://download.csdn.net/download/sheziqiong/85810554
Objective record
1 introduction 1
1.1 Background of the project 1
1.2 The development of document retrieval system 2
1.3 Background knowledge of literature retrieval 3
2 Introduction to related technologies 7
2.1 IIS 7
2.2 .NET platform 8
2.3 ASP.NET brief introduction 9
2.4 SQL Language 10
2.5 SQL Server 2005 summary 11
2.6 Determination of development mode 13
3 Demand analysis of document retrieval system 14
3.1 Feasibility analysis 14
3.2 Functional analysis 14
3.3 System data flow diagram 15
3.4 System entity contact diagram 16
3.5 Operation environment analysis 17
3.6 Performance requirements analysis 18
4 The outline design of document retrieval system 20
4.1 System function description 20
4.2 System process analysis 22
5 Detailed design of document retrieval system 23
5.1 Database design 23
5.2 Directory structure 25
5.3 General module 26
5.4 Main function modules and core codes 26
5.5 System maintenance and update 41
6 Conclusion 42
reference 43
thank 44
5 Detailed design of document retrieval system
5.1 Database design
In the overall design stage, the solution to the problem is put forward in a more abstract and general way . The task of the detailed design stage is to concretize the solution , That is to design the database, compile the program and realize the whole system module .
The following describes the functions of each table :
(1) Administrator table (Admin) Used to save the administrator name and password , The structure is shown in the table 5-1 Shown :
surface 5-1 Administrator table Admin
Field name data structure Primary key describe
Aid int yes Administrator number
Aname Varchar(10) no Administrator name
Apwd Varchar(50) no password
(2) Document information table (Book): Details of the documentation used to store , Its properties are defined by “ Document number + Document title + The author's name + keyword + Abstract + Time of publication + Journal name + Time of publication + classification ” form , As shown in the table 5-2 Shown :
surface 5-2 Document information table
Field name data structure Primary key describe
Bookid int yes Document number
Author Varchar(50) no The author's name
Bookname Varchar(100) no Document title
Keywords Varchar(50) no keyword
Abstract Varchar(50) no Abstract
Pubtime datetime no Time of publication
Qkname Varchar(200) no Journal name
Location Varchar(200) no Document storage path
Xzcount Int no amount of downloads
Code Char(10) no Title initials
Class Varchar(50) no classification
(3) Document category table (Class): This table is used to store the existing literature classification information , The document category attribute in this table should refer to the category field in the document information table , Its properties are defined by “ Category number + Category name ” constitute , As shown in the table 5-3 Shown :
surface 5-3 Category information table
Field name data structure Primary key describe
Cid int yes Category number
Cname Varchar(10) no Category name
(4) User type table (Users): This table is used to store user related information , Such as user name , password , mailbox , Telephone and other data . The specific structure is shown in the table 5-4 Shown :
surface 5-4 User information sheet
Field name data structure Primary key describe
Uid int yes The user id
Uname Varchar(10) no User name
Upwd Varchar(50) no User password
Uemal Varchar(50) no User mailbox
Utel Varchar(50) no You phone
(5) Discussion topic table (Topic): This table stores information about the discussion topics in the discussion area , Include the user name of the published topic 、 Topic topic 、 Content 、 Creation time 、 user IP Address and other fields . The specific structure is shown in the table 5-5 Shown :
surface 5-5 Discussion topic table
Field name data structure Primary key describe
TopicID int yes Subject number
UserLoginName Varchar(20) no User name
Title Varchar(50) no subject
Content Varchar(50) no Content
CreateTime Varchar(50) no Time of publication
IP Char(15) no user IP Address
(6) Subject Reply Form (Reply): This table stores information about replies to all topics in the discussion area , Include the subject you replied to ID、 User name to post the reply 、 Reply to the question 、 Content 、 Creation time 、 user IP Address and other fields . The specific structure is shown in the table 5-6 Shown :
surface 5-6 Subject Reply Form
Field name data structure Primary key describe
ReplyID int yes Reply No
IP Char(15) no user IP Address
TopicID int no Subject number
UserLoginName Varchar(20) no User name
Title Varchar(50) no subject
Content Varchar(50) no Content
CreateTime Varchar(50) no Time of publication
The relationship between the main tables : Use SQL Server2005 The design is shown in the picture 5.1 Diagram of the table shown in , The corresponding primary key and foreign key constraints are shown in the figure .
chart 5.1 A diagram of the relationships between tables in a database
5.2 Directory structure
admin: Background operation script for storage system administrator , Including login 、 New category 、 Document management 、 Upload documents and other functions .
admin- The literature : A catalogue for storing documents .
App_Code: It includes two general modules: database link and user registration .
App_Data: It's used to store the database .
css: The storage control page displays the controlled css Style sheets .
discuss: Store relevant pages and code files of the discussion area .
Images: Used to store image files in the website display .
js: Storage is used to control the display of document information javascript Script files .
myControls: Store user-defined controls , A directory navigation bar control .
The home page code is as follows :
<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%-- Add a content control here --%>
<asp:Content ID="Content1" runat="server" ContentPlaceHolderID="ContentPlaceHolder1">
<div id="wenxian" style="background-color:#7b97a8; width:100%; text-align: center;"> All literature </div>
<table border="0" cellpadding="0" cellspacing="0" style="width:599px; height:212px">
<tr>
<td style=" width:598px; height:116px;" valign="top">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CaptionAlign="Top" CellPadding="4" ForeColor="#404040" GridLines="None" PageSize="20" Width="599px" OnRowCreated="GridView1_RowCreated">
<Columns>
<asp:TemplateField>
<HeaderTemplate>
</HeaderTemplate>
<ItemTemplate>
Document name :
<a href='<%# Eval("Bookid", "showAllBooks.aspx?Bookid={0}") %>' rel="lightbox[roadtrip]" title="header=[ Document name :<%# DataBinder.Eval(Container.DataItem, "Bookname")%>] body=[ author :<%# DataBinder.Eval(Container.DataItem, "Author")%> <br/> Abstract :<%# DataBinder.Eval(Container.DataItem, "Abstract")%><br/> keyword :<%# DataBinder.Eval(Container.DataItem, "Keywords")%><br/> Release time : <%# DataBinder.Eval(Container.DataItem, "Pubtime")%><br/> Journal name : <%# DataBinder.Eval(Container.DataItem, "Qkname")%>] "><%# DataBinder.Eval(Container.DataItem, "Bookname")%></a>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
</table>
<div id="page" style="background-color:#7b97a8;">
<asp:LinkButton ID="linkDefault" runat="server" CausesValidation="False" CommandArgument="first" CommandName="page" > This page </asp:LinkButton>
<asp:LinkButton ID="linkPre" runat="server" CausesValidation="False" CommandArgument="pry" CommandName="page"> The previous page </asp:LinkButton>
<asp:LinkButton ID="linkNext" runat="server" CommandArgument="next" CommandName="page" OnClick="linkNext_Click"> The next page </asp:LinkButton>
common :<asp:Label ID="Label1" runat="server" Text="Label" Width="55px"><%=GridView1.PageCount %></asp:Label> page , At present, it's in the second <asp:Label ID="Label3" runat="server" Text="Label" Width="10px"><%
=GridView1.PageIndex + 1%></asp:Label> page <asp:LinkButton ID="linkLast" runat="server" CausesValidation="False" CommandArgument="endpage" CommandName="page"> Tail page </asp:LinkButton>
</div>
</asp:Content>



















Resource download address :https://download.csdn.net/download/sheziqiong/85810554
Resource download address :https://download.csdn.net/download/sheziqiong/85810554
边栏推荐
- Reading notes of Mr. toad going to see a psychologist
- SPI接口简介-Piyu Dhaker
- PC博物馆-熟悉又陌生的懵懂年代
- RSLO:自监督激光雷达里程计(实时+高精度,ICRA2022)
- 中国内地仅四家突围 联想智慧颐和园荣获 “2022年IDC亚太区智慧城市大奖”
- Build a learning environment
- Kubernetes 深入理解Kubernetes(二) 声明组织对象
- Why will the new 5g standard bring lower TCO to the technology stack
- Jerry's wif interferes with Bluetooth [chapter]
- Yii2 connects to websocket service to realize that the server actively pushes messages to the client
猜你喜欢

Connected to rainwater series problems

腾讯云国际云服务器登录之后没有网络,如何排查?

PostgreSQL surpasses MySQL

A bug liver a week I can't help mentioning issue

Hematemesis recommends 17 "wheels" to improve development efficiency

3. Overall UI architecture of the project

Luogu_ P1303 A*B Problem_ High precision calculation

First knowledge of exception

Mulan open work license 1.0 open to the public for comments

ArrayList源码解析
随机推荐
力扣解法汇总522-最长特殊序列 II
排序
Yii2 writing the websocket service of swoole
Pytorch model
Why will the new 5g standard bring lower TCO to the technology stack
Npoi export excel and download to client
PCB understand Wang, are you? I am not
Can your code talk? (upper)
Tencent cloud international ECS has no network after logging in. How to troubleshoot?
如何设计数据可视化平台
From PDB source code to frame frame object
Zhongang mining focuses on the fluorine chemical industry and lays out the new energy industry chain
How to open an account of Huatai Securities? How to handle the account opening is the safest
Who is the main body of the waiting insurance record? Record in the local network security, right?
Hundreds of lines of code to implement a JSON parser
(原创)【MAUI】一步一步实现“悬浮操作按钮”(FAB,Floating Action Button)
你的代碼會說話嗎?(上)
坐拥755万开发者的中国开源,进度几何?
Double buffer drawing
G : 最大流问题