当前位置:网站首页>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
边栏推荐
- Action interprets value. The chairman of chenglian Youpin Han attended the Guangdong Yingde flood fighting donation public welfare event
- 2021计算机三级数据库大题总结
- 药物发现新方法,阿斯利康团队通过课程学习改进从头分子设计
- Yii2 connects to websocket service to realize that the server actively pushes messages to the client
- MySQL slave error: "you cannot 'alter' a log table“
- RSLO:自监督激光雷达里程计(实时+高精度,ICRA2022)
- i++ , ++i
- Zhongang mining focuses on the fluorine chemical industry and lays out the new energy industry chain
- 由两个栈组成的队列
- Hundreds of lines of code to implement a JSON parser
猜你喜欢

Kubernetes in-depth understanding of kubernetes (I)

Visual design tutorial of word cloud

BERT为何无法彻底干掉BM25??

线程终止的 4 种方式

Special test for cold and hot start of app

中国内地仅四家突围 联想智慧颐和园荣获 “2022年IDC亚太区智慧城市大奖”

3. Overall UI architecture of the project

CVPR再起争议:IBM中稿论文被指照搬自己承办竞赛第二名的idea

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

腾讯云国际云服务器登录之后没有网络,如何排查?
随机推荐
Kubernetes 深入理解kubernetes(一)
BERT为何无法彻底干掉BM25??
SPI接口简介-Piyu Dhaker
Open source invites you to participate in openinfra days China 2022. Topic collection is in progress ~
猫狗队列
Tencent cloud international ECS has no network after logging in. How to troubleshoot?
2021计算机三级数据库大题总结
Action interprets value. The chairman of chenglian Youpin Han attended the Guangdong Yingde flood fighting donation public welfare event
En parlant d'exception - que se passe - t - il lorsque l'exception est lancée?
RAM ROM FLASH的区别
New drug discovery methods, AstraZeneca team improves ab initio molecular design through course learning
PC博物馆-熟悉又陌生的懵懂年代
原生JS 实现页面元素的拖动 拖拽
Only four breakthrough Lenovo smart Summer Palace in mainland China won the "IDC Asia Pacific Smart City Award in 2022"
PCB懂王,你是吗?我不是
Inftnews | technology giants accelerate their march into Web3 and metauniverse
Thread life cycle and its methods
MySQL从库Error:“You cannot ‘Alter‘ a log table...“
Navicat Premium 16 永久破解激活工具及安装教程(亲测可用)
基于asp.net的文献检索系统