Академический Документы
Профессиональный Документы
Культура Документы
Kingdom of Saudi Arabia Ministry of Higher Education Princess Noura University Faculty of Sciences Computer Department
Shoa Al-Hadyan
Acknowledgments:
All our thanks are to Allah for his great help, health and guidance through our life. Also, we thank our parents, brothers, and sisters for their care and encourage during preparing this work. We would like to express our thanks to our supervisor Prof.Dr.Mohammad Nour; Professor of Computers at the Faculty of Computers and Information Sciences and Dr.Mohammed Alltaleb for thier efforts and discussion throughout the supervision of this work. Our thanks also to Princess Noura Bint Abdurrahman University especially those members at the computer department for their encourage during the four years of study at the university.
Team Work:
Lamia AL-Rabiah, Maali Ba-Ali, Nouf AL-Kahtani, Ohood AL-Garni, Shoa AL-Hadyan.
II
Abstract:
In addition to the teaching process, Princess Noura University presents several activities. An example of such activities is the execution of projects. Archiving of such projects is very important for the whole university specially the Faculty of Computers and Information Sciences. This work aims at computerizing and/or registering the projects established at the university. As there are several types of projects, this work is dedicated and customized to register only the under-graduate computer projects. In this concern, a database for such computer projects will be established and developed. This will be useful for keeping track of any project status. This is also necessary for eliminating or preventing any redundant efforts. Archiving such projects is important for printing any catalogues or annual reports issued by the Faculty of Computers and Information Sciences. For any project, a set of parameters and attributes will be considered. The attributes will include but not limited to: project title, team work (including the students and their advisor), year, area category, contact person (phones, email, ), project objective, problem addressing, end-user, project abstract, keywords, recommendation and/or concluding remarks, nature, characterization, requirement of any devices or softwareetc. Moreover, the implemented website will present several activities such as updating operations, searching, navigation, doing some relevant statistics, printing reports, .etc. This website can be accessed by anyone who is involved in the project working specially the department staff and heads.
Keywords:
Computer Projects, Electronic Archiving, Databases, Interfacing, Princess Noura University, and Relevant Report
III
Table of contents
Chapter 1: Introduction ..
1.1. Project Description ............ 11 1.2. Project Motivation ................................................. 12 1.3. Project aims ............ 12 1.4. Project Methodology.. ........................................................... 12 1.5. Project Findings.. .............................................................. 13 1.6. Project Obstacles ................................................................... 13 1.7. Project Schedule (in weeks) ...................................................... 14
3.3.1.
3.3.2. Functional Requirements........................................................................................................... 26 3.3.3. Non-Functional Requirements.................................................................................................... 26 3.4. System Requirements ....................................................................................................................... 27 3.4.1. Data requirements .................................................................................................................... 27
5.2.1. Microsoft.NET vs. J2EE50 5.2.2. Microsoft.NET vs. PHP.53 5.3. 5.4. 5.5. 5.6. Database Storage Technologies.54 Implementation57 Hardware Description..................................................................................................................... 58 Software Description ...................................................................................................................... 58 Programming Languages ........................................................................................................ 58 Programming Tools................................................................................................................. 59 5.3.1 Oracle 10g and MS SQL Server55
Data Structure Description ............................................................................................................. 61 Procedures Description .................................................................................................................. 61 Interfaces Description .................................................................................................................... 61
Chapter 6: Closure.....
6.1 Conclusion............................................................................... ........................................................... 120 6.2 Scope for Future Work.............................................................. ......................................................... 120 References................................................................................................................ ............................... 121
Appendices: .....
Appendix 1: Samples of Visual Basic Codes....128 Appendix 2: Samples of HTML Codes ....134 Appendix 3: Questionnaire...............160
Meaning
Electronic mail Information Technology Zone Improvement Plan World Wide Web Local Area Network Wide Area Network Archiving the Under-Graduate Computer Projects
ERD CD DFD PK FK HW
Entity Relationship Diagram Context Diagram Data Flow Diagram Primary Key Foreign Key Hardware
VI
SW ASP.NET J2EE JSP PHP CLR HTML JDBC ADO JVM VB RAC SQL BI MS
Software Active Server Pages.NET . Java 2 Enterprise Edition. Java Server Pages. Pre-processing HTML Pages Common Language Runtime. Hyper Text Mark-up Language. Java Database Connectivity ActiveX Data Objects Java Virtual Machine. Visual Basic Real Application Clusters. Structured Query Language. Business Intelligence. Microsoft.
VII
List of Figures
Figure 4. 1 Figure 4.2 Figure 4.3 Figure 4.4 Figure 4. 5 Figure 4.6 Figure 4. 7 Figure 4. 8 Figure. .1 5 Figure .2 5 Figure .3 5 Figure .4 5 Figure .5 5 Figure .6 5 Figure .7 5 Figure .8 5 The system Context Diagram (Level 0) ................................................................................. 33 Symbols used in ER-Diagram and their meaning .................................................................. 34 Entity Relationship Diagram.................................................................................................. 35 Data Flow Diagram (Level 0) ................................................................................................. 37 Level-1 Decomposition Diagram of Process (manage advisor)............................................. 38 Level-1 Decomposition Diagram of Process (Manage department)..................................... 39 Level-1 decomposition diagram of process (Manage student) ........................................... 40 Level-1 decomposition diagram of process (Manage Project) ............................................ 41 The Sitemap of the ACP . ....................................................................................................... 66 The Home Page. ..................................................................................................................... 67 The About Us Page. ................................................................................................................ 68 The objectives. ....................................................................................................................... 69 The Contact us Page............................................................................................................... 70 The Administrator Profile Page. ............................................................................................. 71 The Administrator Manage Page. .......................................................................................... 72 The Manage User Page For Adminsrator. .............................................................................. 73
Figure .9 The Manage Projects Page For Adminsrator. ......................................................................... 74 5 Figure .10 Insert Page-1 (Project information-1) ................................................................................... 75 5 Figure .11 Insert Page-2 (Project information-2) ................................................................................... 76 5 Figure .12 Insert Page-3 (Project information-3) ................................................................................... 77 5 Figure .13 Insert Page-4 (Advisor information) ..................................................................................... 78 5 Figure .14 Insert Page-5 (Student information) .................................................................................... 79 5 Figure .15 Update Page-1 ....................................................................................................................... 80 5 Figure .16 Update Page-2 ....................................................................................................................... 81 5 Figure .17 Update Page-3 ....................................................................................................................... 82 5 Figure .18 Update Page-4 ....................................................................................................................... 83 5 Figure .19 Update Page-5 ....................................................................................................................... 84 5 Figure .20 Update Page-6 ....................................................................................................................... 85 5 Figure .21 Delete Page. ........................................................................................................................... 86 5 Figure .22 Projects Proprities Page. ........................................................................................................ 87 5 Figure .23 Search Page-1 For Administrator . ......................................................................................... 88 5 Figure .24 Search Page-2 For Administrator . ......................................................................................... 89 5 VIII
Archiving the under-graduate computer projects Figure .25 Search Page-3 For Administrator . ......................................................................................... 90 5 Figure .26 Search Page-4 For Administrator........................................................................................... 91 5 Figure .27 Search Page-5 For Administrator . ........................................................................................ 92 5 Figure .28 View Page For Administrator . .............................................................................................. 93 5 Figure .29 Profile Page For a User.......................................................................................................... 94 5 Figure .30 Project Properties Page For a User. ...................................................................................... 95 5 Figure .31 Search Page-1 For User . ....................................................................................................... 96 5 Figure .32 Search Page-2 For User. ........................................................................................................ 97 5 Figure .33 Search Page-3 For User. ........................................................................................................ 98 5 Figure .34 Search Page-4 For User. ........................................................................................................ 99 5 Figure .35 5 Search Page-5 For User . .................................................................................................... 100 Figure .36 View Page For User . ........................................................................................................... 101 5 Figure .37 Home Page in Website ....................................................................................................... 102 5 Figure .38 About Us in Website ........................................................................................................... 103 5 Figure .39 Objectives Page in Website . .............................................................................................. 104 5 Figure .40 Contact Us Page in Website. ............................................................................................... 105 5 Figure .41 Admin Manage Page in Website . ....................................................................................... 106 5 Figure .42 Manage Employee in Website ............................................................................................ 107 5 Figure .43 Manage Advisor in Website ................................................................................................ 108 5 Figure .44 Manage Student in Website. .............................................................................................. 109 5 Figure .45 ManageDepartment in Website. ........................................................................................ 110 5 Figure .46 Manage Project in Website ................................................................................................ 111 5 Figure .47 Insert Project in Website . .................................................................................................. 112 5 Figure .48 UpdateProject in Website................................................................................................... 113 5 Figure .49 Manage Report in Website ................................................................................................. 114 5 Figure .50 Search Page#1 in Website . ................................................................................................ 115 5 Figure .51 Search Page#2 in Website . ................................................................................................ 116 5 Figure .52 Search Page#3 in Website .................................................................................................. 117 5 Figure .53 Search Page#4 in Website .................................................................................................. 118 5
IX
List of Tables
Table 1.1 Table 4.1 Table 4.2 Table 4.3 Table 4.4 Table 4.5 Table 4.6 Table 4.7 Table 4.8 Table 4.9 Project Schedule of Semester1 .............................................................................................. 14 Symbols used in DF-Diagram and their meaning ................................................................... 36 Students ................................................................................................................................. 42 Table of the Students Description .......................................................................................... 42 Advisors .................................................................................................................................. 43 Table of Advisors Description................................................................................................. 43 Projects................................................................................................................................... 44 Table of Projects Description ................................................................................................. 45 Discussion Team ..................................................................................................................... 46 Table of Discussion Team Description. .................................................................................. 46
Table 4.10 Departments. ......................................................................................................................... 46 Table 4.11 Table of Departments Description ......................................................................................... 46 Table 4.12 Advisors of Project. ............................................................................................................... 47
Table 4.13 Table of Advisors of Project .................................................................................................. 47 Table 5.1 Table 5.2 Table 5.3 Table 5.4 Table 5.5 Comparison Between .NET and J2EE ..................................................................................... 52 Comparison Between PHP and ASP.NET ................................................................................ 54 Comparison Between MS SQL Server and Oracle 10g ........................................................... 55 User Minimum Hardware Requirements ............................................................................... 58 Data Structure Description .................................................................................................... 61
Chapter 5
System Implementation and Test Plan
5.1 5.2 Introduction Interface Technologies 5.2.1 Microsoft.NET vs. J2EE 5.2.2 Microsoft.NET vs. PHP 5.3 Database Storage Technologies 5.3.1 Oracle 10g and MS SQL server 5.4 Implementation 5.5 Hardware Description 5.6 Software Description 5.6.1 Programming Languages 5.6.2 Software Tools 5.7 Data Structure Description 5.8 Procedures Description 5.9 Interfaces Description 5.10 Website Developed interface
48
5.1 Introduction
The process here aims at moving an idea from concept to reality. In business, engineering and other fields, implementation refers to the building process rather than design process. [ http://en.wiktionary.org/wiki/implementation, 2010 ] In other word, the implementation is the process of realizing a project in practice according to the agreed work plan and the practice solution chosen to perform a given function. It involves 'Project Management and Monitoring'. In computer science, an implementation is a realization of a technical specification or algorithm as a program, software component, or other computer system. [http://www.classicistranieri.com/appuntidiinformaticalibera/a2891.htm,2010]
49
Communications of the ACM, Vol. 45, No. 9, pp. 81 86, September 2002].
50
Microsoft.NET:
The Microsoft.NET Framework is a software component which can be added to the Microsoft Windowsoperating system. It provides pre-coded solutions to manage the execution of programs written specifically for the framework.
[Daniel Winter, PHP, ASP or ASP.NET?,http://www.builderau.com.au, 2004]. ASP.NET is part of Microsoft's .NET platform and is the next generation ASP, but it is not an upgraded version of Microsoft's Active Server Pages (ASP) technology. It is based on the Common Language Runtime (CLR) which is shared by all Microsoft.NET applications. [http://en.wikipedia.org/wiki/Microsoft_.NET_Framework, pp. 1-5, 2006]. ASP.NET can create dynamic web pages which are enabling to retrieve, modify, and display the data from database. It can separate the programming code into HTML tags and ASP web pages. So, it will be enable the HTML designer and ASP programming to work together more effectively. Now, ASP.NET provides the programmer with powerful feature. This feature is the compiled server-side model this compiled server-side model has two advantages: 1. They are first compiled and stored in machine-readable format so they will run faster. 2. Compiled programs are created in development environments which provide debugging utilities so it will be easy to locate and correct errors. However, this feature isn't available in neither java nor ASP, and ASP.NET enables you to create great pages with fewer codes than ASP. [http://en.wikipedia.org/wiki/ASP.NET, 2006].
51
Recently, Microsoft developed the Microsoft.NET platform for executing web pages codes with security. .Net benefited from java experience in security field so they have similar security goals and mechanisms. *M. Morrison, J. Morrison, A. Keys, Integrating web sites and databases,
Communications of the ACM, Vol. 45, No. 9, pp. 81 86, September 2002].
Table 5.1
Service of Feature
Microsoft .NET Language-independent (support multiple languages such as C#, VB.NET, C++.NET and other modified languages)
Platform-specific (but
J2EE
Language
runs on any platform with a Java Virtual Machine so it will be applied on different operating systems).
JSP JDBC
At execution time:
At execution time:
ASP.NET
The main advantages are: 1. It is an object-oriented. 2. Flexibility to choose your programming language. 3. Language source is compiled. 4. The Web pages run much faster. 5. There is also a very comprehensive range of security available to ASP.NET.
53
ASP.Net Yes
PHP
No
Scripted Language
No
Yes
Object Oriented
Yes
Yes
PHP Faster execution and worked in any area of server Yes run in different operating system
Speed
54
There are many technologies that can help in designing any system as we discussed previously interface technologies. Now, we're going to discuss database technologies such as Microsoft Structure Query Language (MS SQL) and Oracle 10g.
Table 5.3
Features
Oracle 10g Strong security, but to gain this feature adds extra cost for Advance security options. Multiple platforms Better with JSP
Security features
Visual Studio
Oracle J Developer
Oracle 10g:
The idea of Oracle 10g is that the database will be able to dynamically "requisition" resources from the grid to meet levels of peak demand. And aimed at reducing costs and improving the quality of service by making the database easier to deploy and manage including enhancements to backup and recovery and data warehousing.
55
Features of Oracle Database 10g: 1. Ease of Management: Reducing costs and increasing up-time by making the database easier to manage.
2. Availability: Flashback available at the row, transaction, table or database level. Recovery area on disk that is maintained automatically by the database. Enable compression and encryption of log traffic from the master database to the standby system. Tables can now be redefined without invalidating stored procedures. Support for rolling upgrades of the hardware, operating system and the database to reduce planned down time. 3. Data Warehousing: An increase in the size limits of the database. Improvements to Real Application Clusters (RAC). [http://www.smart-soft.co.uk/Oracle/oracle10g-new-features.htm, 2008 ]
Features of SQL server are: 1. Strong security: Managing security is easy. Protecting and securing your data are sufficient. Data base in SQL server provided this security features: authentication, authorization, network encryption, data encryption. *Mitch Ruebush, SQL 2005 and Oracle10g Security Comparison, www.microsoft.com, 2005]
2. Support multi-user transaction performance and excels in clientserver application. application *Goetz Graefe, the Microsoft relational engine, IEEE computer, 2006, pp. 160-161]. 3. High performance. 4. High availability. 5. Easy to use and mange (friendly user). 6. Integration services: that enable integrate data from any source. 7. Service broker: it supports synchronous messages. *Buck Woody, Microsoft SQL Server Features, www.informit.com., 2006]
5.4
Implementation
Implementation of a project is the step where all the proper planned activities
are put into action. Usually, the project implementation process involves preparing, deployment, maintaining and use of the final product of the
In other word, the implementation is the process of realizing a project in practice according to the agreed work plan and the practice solution chosen to perform a given function. It involves 'Project Management and Monitoring. In computer science, an implementation is a realization of a technical specification or algorithm as a program, software component, or other computer
system.[http://en.wikipedia.org/wiki/Implementation, 2011]
Hardware
Processor Memory Hard disk Peripherals Screen Resolution
Minimum Requirement
Pentium-MMX processor or Intel or Celeron Processor p4. 64 MB of RAM 200 MB Modem or Internet connection, keyboard, and mouse. Our content displays best at a screen resolution of 1024 pixels x 768 pixels. At minimum, you will need a resolution of 760 pixels x570 pixels for header and navigation areas to become completely visible.
5.6
Software Description
58
Visual Studio Standard Edition is a powerful, entry-level professional development tool that can help in constructing data-focused client applications, n-tier applications (Connected Systems) using Web services, and rich Web applications. Features :
Build line-of-business applications Use your choice of programming languages: Visual Basic, C#, C++, and J#. Target Windows, Web, and mobile applications Take advantage of drag-and-drop visual designers, and a first-class code editing and debugging environment.
Create client/server applications Use Web services and integrated design tools to access remote data. Use SQL Reporting Services.
[http://msdn.microsoft.com/en-
us/library/ms950416.aspx, 2011]
59
or mechanical, for any purpose, without the express written permission of Oracle
Corporation.[ Joan Gregoire, Diana Lorentz, Simon Watt, 2003]
charts, and other visuals presentations. The program contains dozens of templates that enables a creation of a professional-looking graphics. [http://en.wikipedia.org/wiki/SmartDraw, 2010] We will use it in our project to draw the Enhanced Entity Relationship Diagram (EER), and Data flow diagram (DFD).
developed and published by Adobe System. Photoshop gives you full freedom to develop anything or change the image depending on the system Layers and the importance of Photoshop Significant in that it used the Internet and design the pictures, sites and forums. We will use it in our project for the interface design and many other issues.
Office is a package produced by Microsoft software. This includes a group of office software as a text editing and database software and program presentations, and lists the accounting program and others. The company is adding improved versions of the program, most recently Office 2010, one of the most important programs of the company until now.[ar.wikipedia.org/wiki/]1102 ,_ We will use it in our project, in writing parts of the project in MicrosoftWord.
5.7
Size 30 30 30 30 30 30 30 30
Description
Ref Table
The student's project Identification PROJECTS number. The department identification DEPARTME number that the student belongs to . NTS The project Identification number that PROJECTS the advisors supervised. The advisor Identification number. ADVISORS
The department Identification num- DEPARTME ber. NTS The project identification number. The project identification number. The project identification number. PROJECTS PROJECTS PROJECTS
61
5.8
Procedures Description
A procedure is a section of a code that performs a specific task. In our website we used several procedures each of it receives input and generate an output such as insert ,update and delete procedures which are appended in the appendices.
5.9
Interface Description
World Wide Web is growing very rapidly and more and more governmental and nongovernmental institutions, private companies, universities and research institutes are presenting their contents on the internet. There are many different techniques available to connect a user interface to the Web but all these techniques have some advantages and some disadvantages operations.
registered yet he can click on the "Register" button on the upper-right corner of the window. 2- About Us (Figure, 5.3) : The "about us" contains the project teamwork and the supervisor's name. 3- Objectives (Figure, 5.4) : This window contains the project's objectives and the project definition.
4- Contact Us (Figure, 5.5): To communicate with the team via e-mail. 1- Profile Tab (Figure, 5.6),( Figure, 5.29) : At the top of the window, a welcoming message appears to the user, either if he is an administrator, an advisor, or a student. Then the user's profile will appear allowing him to edit his information. 2- Manage Tab (Figure, 5.7): Contains several Properties carried out by admin only, as shown the picture.
Manage Users (Figure, 5.8): This page is possible for the administrator only; through this page the administer tor can add an administrator or a moderator to the Web Site.
Manage Projects (Figure, 5.9): By using this tab the admin can insert, update and delete project from the date base.
63
Insert a project option has five pages. This option is only possible for the administrator.
In the first page, the project information (Name, year of graduation, grade, discussion team, general area and special area) will be added. In the second page, the project nature information (Abstract, keywords, recommendations, implementation link and documentation link etc.) will be added.
In the fourth page, the advisor information (Name, ID, e-mail, phone number and university) will be added.
In the fifth page, the student information (Name, ID, e-mail, phone number) will be added. By clicking on the button the administrator will be allowed to add another student. After clicking the "save" button, the project will be added to the system.
Update Project (Figure, 5.15)-(Figure, 5.20): The update project option has six pages. This option is only possible for the administrator. In the first page, the administrator is going to choose the project needed to be
updated, and click on the update button. The second page will appear and in this page the administrator will add the project information. In the third page, the administrator will add project nature information. In the fourth page, the project's requirements will
64
be added. In the fifth page, the advisor's information will be added. In the sixth page, students' information will be added. After clicking on the "save" button, the project will be updated.
The deletion process is only possible for the administrator. The administrator is going to choose a project and click on the "delete" button.After that, the project will be deleted.
3- Projects Tab (Figure, 5.22),(Figure, 5.22):: This page is contains 2 options. These options are: search for a project and view a project.
Search for a project (Figure, 5.23),(Figure, 5.27): The "Search for a project" option has five pages.In the first page, the user can
search for a project by choosing one of the available options: project, student, advisor or department.The second page is for the project, project names will appear depending on what the user has chosen from the list on the right.The third page is about students information.The fourth page is about advisors information.In the fifth page the user will choose one of the available departments.
View a project (Figure, 5.28): To view the documentation of a specified project with limited privileges to the user.
65
66
Figure. .91 5
67
68
69
Figure .9.6 5
70
Figure .9 .9.7 5 5
71
Figure .9.9 The Administrator Manage Page. 55 Figure .98 The Administrator Manage Page.
72
Figure .9.10 5
73
Figure .9.11 5
Search Page-1.
74
Figure .9.12 5
Search Page-2
75
Figure .9.13 5
Search Page-3
76
Figure .9.14 5
Search Page-4
77
Figure .9.15 5
Search Page-5
78
79
80
81
82
83
84
85
86
87
88
89
90
Figure Figure .940Search Page-4 for Administrator. 5 .9.41 5 Profile Page for a Student/Advisor.
91
Figure .9.43 .942Search Page-5 for Administrator. 5 Figure Project Properties Page for a User. 5
92
Figure .9.45 Search Page-1 for a User . Figure 5 .944View Page for aAdministrator. 5
93
Figure .9.47 Profile Page for a User. . 5 5 Figure .946 Search Page-2 for a User
94
Figure .9.49 Search Page-3 Page for a Figure .948Projects Properties for a User .User . 55
95
Figure .9.51 Search Page-4 for a User . 5 5 Figure .950 Search Page-1 for a User.
96
97
98
Figure .956 Download Page 5 Figure .957 Search Page-4 for a User. 5
99
Figure 1 0
100
101
5.10
Website DevelopedInterface
In order to develop the users graphical interface, some simple changes have been made to the interface in order to be compatible with websites.
Figure 5.37
Home page: This is the first window that appears to the users. Through this window, users can log in to the system. PNU students/members can log in to the system by entering the student name in the first field, and the ID number in the second field. Users can navigate to this window by clicking on the home tab button.
102
103
Figure 5.38
About us page: The "about us" window contains the project teamwork and the supervisors names.
104
Figure 5.39
Objectives page: This window contains the project's objectives and the project definition.
105
Figure 5.40
Contact us page: The Contact Us tab button shows a window that allows to communicate with the team via e-mail.
106
Figure 5.41
Admin manage page: This window contains six options for the admin to manage the system, these options are: Managing Employees, Managing Advisors, Managing Students, Managing Department, Managing Projects and Reports.
107
Manage employee: This window allows the admin to add an employee to help the admin-,employee ID, Employee name and Employee password are required). After adding the employee, the admin can edit or delete the employee.
108
Figure 5.43
Manage Advisor: This window allows the admin to add an advisor of a project (Advisors ID, name, E-mail, phone number, major and the university they belong to are required). After adding the advisor, the admin can edit their information or delete them if needed.
109
Figure 5.44
Manage Student: This window allows the admin to add a student whos a member in a project (Students ID, name, E-mail, phone number, grade of their projects in the two semesters and the name of the project are required). After adding the student, the admin can edit their information or delete them if needed.
110
Manage department: This window allows the admin to add a new department that some projects belong to (Department ID and name are required). After adding the department, the admin can edit the information of the department or delete the department if needed.
111
Figure 5.46
Manage project: This window allows the admin to add projects. After adding a project, the admin can edit the projects information or delete them.
112
Figure 5.47
Insert project: After clicking on the add new button in the previous figure(5.46), this window will appear for the admin to fill the projects information: (Project ID, Name, year of graduation, grade of the project in the two terms, the projects general area and special area, software and hardware requirements, the abstract of the project in Arabic and English, projects recommendations, presentation, implementation, documentation, notes, keywords, and the department that the project belongs to) all of these information are required to add a project. Save and next?
113
Update project: After clicking Edit next to a project name in figure(5.46), this window will appear allowing the admin to update a project, by updating its information.
114
Manage Report: This window allows the admin to manage the reports.
115
Search page#1: Users can search for a project by choosing one of the available options: project, student, or advisor.
116
Search page#2: When choosing advisor, user can search for a project using advisors information. After clicking on the search button, the result of searching will appear.
117
Search page#3: When choosing project, user can search for a project using projects information. After clicking on the search button, the result of searching will appear.
118
Search page#4: When choosing student, user can search for a project using students information. After clicking on the search button, the result of searching will appear.
119
Chapter 6 : Closure
Chapter 6
Closure
2.1 6.1 Conclusion 6.2 Scope for Future Work
119
Chapter 6 : Closure
6.1 Conclusion
"Archiving Under-Graduated Projects" aims at computerizing and/or registering the projects established at the university. Archiving of such projects is very important for the whole university specially the Faculty of Computers and Information Sciences. This will be useful for keeping track of any project status and also necessary for eliminating or preventing any redundant efforts. Archiving such projects is important for printing any catalogues or annual reports issued by the Faculty of Computers and Information Sciences.
120
References
References
121
References
1.
Wikipedia Website, "Glossary of Library and Internet Terms", The University of South Dakota Library, http://en.wikipedia.org/wiki/Archive, 2007-04-30.
2.
Wikipedia Website, "Glossary of Archival and Records Terminology", The Society of American Archivists, http://en.wikipedia.org/wiki/Archive, 2007-04-06.
3.
Wikipedia
Website,
"Archive:
Definition,
Synonyms
from",
http://en.wikipedia.org/wiki/Archive, 2010-06-01.
4.
5.
Shawn M. Turner , "Introduction, Texas Department of Transportation, Guidelines for Developing ITS Data Archiving Systems", Texas, Texas Transportation Institute,2001.
6.
7.
8.
The
Radicati
Group,
Archiving
Market,
2009,
http://en.wikipedia.org/wiki/E-mail_archiving, 2009.
122
References
9.
Search Health IT website, What is a PACS "Picture Archiving and Communication System", http://searchhealthit.techtarget.com/definition/picturearchiving-and-communication-system-PACS, March 2010.
stephen_meyer_USPatent-20050246059.pdf , 2005.
13. The
Radiacti
Group,
Archiving,
http://en.wikipedia.org/wiki/E-
mail_archiving, 2009.
http://patents.com/us-7761429.html, 2010.
16. Brewster Kahle , IIPC ( International Internet Preservation Consortium), http://en.wikipedia.org/wiki/Internet_Archive, 1996. 17. Gabrielle
Sarah,
Archiving
system,
US,
20110145202
A1,
https://data.epo.org/publication-server/rest/v1.0/publicationdates/20110525/patents/EP2325764NWA1/document.htm, 2011.
123
References
http://patents.com/us-7873603.html,
2006.
abbas/system-analysis-and-design/20lv4waafc4io/2#, 2009.
21. Wikipedia
website,
System
Analysis,
http://en.wikipedia.org/wiki/
Systems_analysis, 2011.
require.htm, 2011.
brighthub.com/office/project-management/articles/12259.aspx, 2011.
24. Aldex
website,
"Requirements
Specification",
http://www.aldex.co.uk/
reqspec.html, 2011.
25. Merlene Gundlach, "Fifty
Examples
of
Functional
Requirements",
http://www.brighthub.com/office/project-management/articles/12259.aspx, 2011.
26. Wikipedia
website,
"System requirements",
http://en.wikipedia.org/wiki/
System_requirements, 2011.
27. Department of Computer Science website, "Software requirements", The
References
/Slides/3.pdf,2011.
29. Wikipedia
website,
Centralized_syste,
http://en.wikipedia.org/wiki/
Centralized_system,2011.
30. Wikipedia
website,
"Distrbuted_Computing",
http://en.wikipedia.org/wiki/
Distributed_ computing,2011. 31. Floridasoundmasking website, "What is the difference between centralized and distributed systems?" ,http://www.floridasoundmasking.com/faq/sound-masking-faqs/77centralized-and-distributed-systems,2011.
32. Gerrit Muller, "The System Architecture Process", Buskerud University College
http://www.gaudisite.nl/SystemArchitectureProcessPaper.pdf,2011.
33. Mike Chapple, Entity-Relationship Diagram, http://databases.about.com/cs/
specificproducts/g/er.htm, 2011.
34. Nathan D. M. Robertson, "Entity Relationship Diagram for Electronic Resource Management, http://old.diglib.org/pubs/dlf102/dlfermi0408appc.pdf, 2011.
35. Alexander
et.at,
Systems
Engineering
Principles
and
Practice,
http://en.wikipedia.org/wiki/System_context_diagram, 2011. 36. Bruza, "The Semantics of Data Flow Diagrams", The University of Nijmegen, http://slashtheseats.com/rrpedia/Data_flow_diagram#cite_note-1,1993.
125
References
38. http://www.classicistranieri.com/appuntidiinformaticalibera/a2891.htm,2010. 39. Paul, N. Evans, D, .NET security: lessons learned and missed from Java, IEEE Computer Security Applications Conference, pp. 272 281, 6-10 Dec. 2004. 40. David Carew, Jeff Wilson, "Getting on the open road: J2EE fundamentals for ASP developers-a roadmap for ASP developers making the transition to J2EE", http://www.developers.net/external/564, 2006. 41. M. Morrison, J. Morrison, A. Keys, "Integrating web sites and databases",
Communications of the ACM, Vol. 45, No. 9, pp. 81 86, September 2002. 42. Daniel Winter, PHP, ASP or ASP.NET?, http://www.builderau.com.au, 2004.
43. "Wikipedia", http://en.wikipedia.org/wiki/Microsoft_.NET_Framework, pp. 1-5, 2006. 44. "Wikipedia", http://en.wikipedia.org/wiki/ASP.NET, 2006.
45. Java SE Security, http://java.sun.com/javase/technologies/security/index.jsp, 2006. 46. Jim Farley, ".NET vs. J2EE", http://www.ddj.com/dept/architect/184414710, pp. 1-10, 2006. 47. http://www.smart-soft.co.uk/Oracle/oracle10g-new-features.htm, 2008 . 48. Mitch Ruebush, SQL 2005 and Oracle10g Security Comparison, www.microsoft.com, 2005. 49. Goetz Graefe, the Microsoft relational engine, IEEE computer, pp. 160-161, 2006.
126
References
51. Peter
F.
Drucker,
Implementation
of
Project,
http://www.uneca.org/rcm/
TrainingModule2010/Module4ProjectImplementation.pdf, 2010.
53. Wikipedia
website,
About:
Graphics
Software
SmartDraw
2010,
http://en.wikipedia.org/wiki/SmartDraw, 01/12/2010.
55. Microsoft
website,
Visual
Basic
2005
http://msdn.microsoft.com/en-
us/library/ms950416.aspx, 2011.
56. Joan Gregoire, Diana Lorentz, Simon Watt, Oracle Database SQL Quick Reference, 10g Release 1 (10.1), B10758-01, December 2003.
57. HURT.
H.H,
OUELLET.
J.V.,
and
THOM, 1
D.R,
The Jan
Hurt
Report, 1981.
http://en.wikipedia.org/wiki/Report,
127
Appendices
Appendix 1: Samples of Visual Basic Codes. Appendix 2: Samples of HTML Codes. Appendix 3: Questionnaire.
128
Appendix 1
Samples of Visual Basic Codes
129
LoginAdmin.aspx.vb:
Imports System.Web Imports System.Data.SqlClient Imports System.Data Imports System.Diagnostics Partial Class LoginEmployee Inherits System.Web.UI.Page Dim ConnectionString As String = Configuration.WebConfigurationManager.ConnectionStrings("ConnectionString").C onnectionString Dim conn As New SqlConnection(ConnectionString) Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click Try
Dim strSQL As String = "select * from Employee where empName =N'" & (TextBox1.Text) & "' and Emppassword=N'" & TextBox2.Text & "'" Dim cmd As New System.Data.SqlClient.SqlCommand(strSQL, conn) If conn.State = ConnectionState.Closed Then conn.Open()
Dim dr As SqlDataReader = cmd.ExecuteReader If dr.HasRows Then Session("admin") = TextBox1.Text Response.Redirect("AdminMainpage.aspx") Else Label1.Visible = True End If Catch ex As Exception End Try conn.Close() End Sub
130
ManagingAdvisors.aspx.vb:
Imports System.Web Imports System.Data.SqlClient Imports System.Data Imports System.Diagnostics Partial Class ManagingAdvisors Inherits System.Web.UI.Page Dim ConnectionString As String = Configuration.WebConfigurationManager.ConnectionStrings("ConnectionString").C onnectionString Dim conn As New SqlConnection(ConnectionString) Protected Sub ImageButtonAdd_Click(ByVal sender As Object, ByVal e As System.Web.UI.ImageClickEventArgs) Handles ImageButtonAdd.Click If txtAdvisorId.Text <> "" And txtAdvisorName.Text <> "" And txtAdvisorEmail.Text <> "" And txtAdvisorPhoneNumber.Text <> "" And txtAdvisorMajor.Text <> "" And txtAdvisorUniversity.Text <> "" Then Try Dim strSQL As String = "INSERT INTO Advisors (A_id, A_Name, A_Email, A_phone_number, A_major, A_university)" & "VALUES(" & txtAdvisorId.Text & ",N'" & txtAdvisorName.Text & "',N'" & txtAdvisorEmail.Text & "',N'" & txtAdvisorPhoneNumber.Text & "',N'" & txtAdvisorMajor.Text & "',N'" & txtAdvisorUniversity.Text & "')" Dim cmd As New System.Data.SqlClient.SqlCommand(strSQL, conn) If conn.State = ConnectionState.Closed Then conn.Open() cmd.ExecuteNonQuery() Me.GridView1.DataBind() Catch ex As Exception End Try conn.Close() End If End Sub
131
SearchStudent.aspx.vb
Partial Class searchStudent Inherits System.Web.UI.Page Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click SqlDataSourceSearch.SelectCommand = "SELECT student.S_Email, student.S_Phone_Number, Projects.P_Name, student.S_Tirm1_Grade, student.S_Tirm2_Grade, Departments.D_Name FROM Projects INNER JOIN student ON Projects.P_ID = student.S_P_ID INNER JOIN Departments ON Projects.P_D_ID = Departments.D_ID WHERE (Projects.P_Keywords like'%" & TextBox1.Text & "%')" Me.GridView1.DataBind() If email.Checked Then Me.GridView1.Columns(0).Visible = True Else Me.GridView1.Columns(0).Visible = False End If If phone.Checked Then Me.GridView1.Columns(1).Visible = True Else Me.GridView1.Columns(1).Visible = False End If If project.Checked Then Me.GridView1.Columns(2).Visible Else Me.GridView1.Columns(2).Visible End If If grade.Checked Then Me.GridView1.Columns(3).Visible Me.GridView1.Columns(4).Visible Else Me.GridView1.Columns(3).Visible Me.GridView1.Columns(4).Visible End If
= True = False
If Department.Checked Then Me.GridView1.Columns(5).Visible = True Else Me.GridView1.Columns(5).Visible = False End If End Sub End Class
132
UpdateProject1.aspx.vb:
Partial Class UpdateProject1 Inherits System.Web.UI.Page Protected Sub FormView1_ItemUpdated(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewUpdatedEventArgs) Handles FormView1.ItemUpdated If e.Exception Is Nothing Then Dim txtProjectID As TextBox = CType(Me.FormView1.FindControl("P_IDTextBox"), TextBox) Session("P_id") = txtProjectID.Text Response.Redirect("inspage2.aspx") Else e.ExceptionHandled = True End If End Sub End Class
AddProjects.aspx.vb:
Partial Class AddProjects Inherits System.Web.UI.Page Protected Sub FormView1_ItemInserted(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.FormViewInsertedEventArgs) Handles FormView1.ItemInserted If e.Exception Is Nothing Then Dim txtProjectID As TextBox = CType(Me.FormView1.FindControl("P_IDTextBox"), TextBox) Session("P_id") = txtProjectID.Text Response.Redirect("inspage2.aspx") Else e.ExceptionHandled = True End If End Sub End Class
133
Appendix 2
Samples of HTML Codes.
134
LoginAdmin.aspx:
<%@ Page Language="VB" MasterPageFile="~/LoginMasterPage.master" AutoEventWireup="false" CodeFile="LoginAdmin.aspx.vb" Inherits="LoginEmployee" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style9 { width: 671px; } .style10 { width: 73%; text-align: left; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table width="100%"> <tr> <td width="20%"> </td> <td class="style9" dir="rtl" style="text-align: center" width="60%"> <table width="85%"> <tr> <td style="text-align: left" dir="rtl"> <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> </td> <td width="50%"> User Name</td> </tr> <tr> <td style="text-align: left"> <asp:TextBox ID="TextBox2" runat="server" TextMode="Password"></asp:TextBox> </td> <td> Password</td> </tr> <tr> <td class="style10"> <asp:Button ID="Button1" runat="server" Text="Login" /> </td> <td class="style6"> </td>
135
</tr> <tr> <td colspan="2"> <asp:Label ID="Label1" runat="server" style="color: #FF0000; font-weight: 700" Text="user name or password is incorrect" Visible="False"></asp:Label> </td> </tr> </table> </td> <td width="20%"> </td> </tr> </table> </asp:Content>.
136
ManagingAdvisors.aspx:
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="ManagingAdvisors.aspx.vb" Inherits="ManagingAdvisors" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style6 { width: 196px; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table width="50%"> <tr> <td class="style8"> Id</td> <td class="style8"> <asp:TextBox ID="txtAdvisorId" runat="server"></asp:TextBox> </td> <td style="width: 13px"> </td> </tr> <tr> <td class="style8"> Name</td> <td class="style8"> <asp:TextBox ID="txtAdvisorName" runat="server"></asp:TextBox> </td> <td style="width: 13px"> </td> </tr> <tr> <td class="style8"> Email</td> <td class="style8"> <asp:TextBox ID="txtAdvisorEmail" runat="server"></asp:TextBox> </td> <td style="width: 13px"> </td> </tr> <tr> <td class="style8"> Phone Number</td> <td class="style8"> <asp:TextBox ID="txtAdvisorPhoneNumber" runat="server" TextMode="Password"></asp:TextBox></td> <td style="width: 13px">
137
</td> </tr> <tr> <td class="style8" style="height: 21px"> Major</td> <td class="style8" style="height: 21px"> <asp:TextBox ID="txtAdvisorMajor" runat="server"></asp:TextBox> </td> <td style="width: 13px; height: 21px"> </td> </tr> </table> <table width="50%"> <tr> <td class="style6"> University</td> <td class="style8"> <asp:TextBox ID="txtAdvisorUniversity" runat="server" TextMode="Password"></asp:TextBox> </td> </tr> </table> <asp:ImageButton ID="ImageButtonAdd" runat="server" ImageUrl="~/Images/Addbutton.jpg" Style="left: 125px; position: relative; top: -2px" Width="61px" /><br /> <br /> <br /> <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="A_ID" DataSourceID="SqlDataSource1"> <Columns> <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" /> <asp:BoundField DataField="A_ID" HeaderText="A_ID" ReadOnly="True" SortExpression="A_ID" /> <asp:BoundField DataField="A_Name" HeaderText="A_Name" SortExpression="A_Name" /> <asp:BoundField DataField="A_Major" HeaderText="A_Major" SortExpression="A_Major" /> <asp:BoundField DataField="A_University" HeaderText="A_University" SortExpression="A_University" /> <asp:BoundField DataField="A_Email" HeaderText="A_Email" SortExpression="A_Email" /> <asp:BoundField DataField="A_Phone_Number" HeaderText="A_Phone_Number" SortExpression="A_Phone_Number" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" DeleteCommand="DELETE FROM [Advisors] WHERE [A_ID] = @A_ID" InsertCommand="INSERT INTO [Advisors] ([A_ID], [A_Name], [A_Major],
138
[A_University], [A_Email], [A_Phone_Number]) VALUES (@A_ID, @A_Name, @A_Major, @A_University, @A_Email, @A_Phone_Number)" SelectCommand="SELECT * FROM [Advisors]" UpdateCommand="UPDATE [Advisors] SET [A_Name] = @A_Name, [A_Major] = @A_Major, [A_University] = @A_University, [A_Email] = @A_Email, [A_Phone_Number] = @A_Phone_Number WHERE [A_ID] = @A_ID"> <DeleteParameters> <asp:Parameter Name="A_ID" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="A_Name" Type="String" /> <asp:Parameter Name="A_Major" Type="String" /> <asp:Parameter Name="A_University" Type="String" /> <asp:Parameter Name="A_Email" Type="String" /> <asp:Parameter Name="A_Phone_Number" Type="Int32" /> <asp:Parameter Name="A_ID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="A_ID" Type="Int32" /> <asp:Parameter Name="A_Name" Type="String" /> <asp:Parameter Name="A_Major" Type="String" /> <asp:Parameter Name="A_University" Type="String" /> <asp:Parameter Name="A_Email" Type="String" /> <asp:Parameter Name="A_Phone_Number" Type="Int32" /> </InsertParameters> </asp:SqlDataSource> <br /> <br /> <br /> </asp:Content>
139
SearchStudent.aspx:
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="searchStudent.aspx.vb" Inherits="searchStudent" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table width="800"> <tr> <td style="background-color: #CCCCCC"> Student Information</td> </tr> <tr> <td> <asp:CheckBox ID="email" runat="server" Text="Email" /> <br /> <asp:CheckBox ID="phone" runat="server" Text="Phone Number" /> <br /> <asp:CheckBox ID="project" runat="server" Text="Project" /> <br /> <asp:CheckBox ID="grade" runat="server" Text="Grade" /> <br /> <asp:CheckBox ID="Department" runat="server" Text="Department" /> </td> </tr> <tr> <td style="background-color: #CCCCCC"> Key word</td> </tr> <tr> <td> <asp:TextBox ID="TextBox1" runat="server" Height="56px" Width="263px"></asp:TextBox> </td> </tr> <tr> <td style="text-align: center"> <asp:Button ID="Button2" runat="server" Text="Search" /> </td> </tr> <tr> <td style="background-color: #CCCCCC"> Result </td> </tr> <tr> <td>   ;
140
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSourceSearch" Width="785px"> <Columns> <asp:BoundField DataField="S_Email" HeaderText="S_Email" SortExpression="S_Email" /> <asp:BoundField DataField="S_Phone_Number" HeaderText="S_Phone_Number" SortExpression="S_Phone_Number" /> <asp:BoundField DataField="P_Name" HeaderText="P_Name" SortExpression="P_Name" /> <asp:BoundField DataField="S_Tirm1_Grade" HeaderText="S_Tirm1_Grade" SortExpression="S_Tirm1_Grade" /> <asp:BoundField DataField="S_Tirm2_Grade" HeaderText="S_Tirm2_Grade" SortExpression="S_Tirm2_Grade" /> <asp:BoundField DataField="D_Name" HeaderText="D_Name" SortExpression="D_Name" /> </Columns> </asp:GridView> <asp:SqlDataSource ID="SqlDataSourceSearch" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" SelectCommand="SELECT student.S_Email, student.S_Phone_Number, Projects.P_Name, student.S_Tirm1_Grade, student.S_Tirm2_Grade, Departments.D_Name FROM Projects INNER JOIN student ON Projects.P_ID = student.S_P_ID INNER JOIN Departments ON Projects.P_D_ID = Departments.D_ID WHERE (Projects.P_Keywords = @1)"> <SelectParameters> <asp:ControlParameter ControlID="TextBox1" Name="1" PropertyName="Text" /> </SelectParameters> </asp:SqlDataSource> </td> </tr> </table> </asp:Content>
141
UpdateProject1.aspx:
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="UpdateProject1.aspx.vb" Inherits="UpdateProject1" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style8 { width: 100%; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:FormView ID="FormView1" runat="server" DataKeyNames="P_ID" DataSourceID="SqlDataSourceInsertProject" DefaultMode="Edit" Width="544px"> <EditItemTemplate> <table class="style8"> <tr> <td> P_ID: </td> <td> <asp:TextBox ID="P_IDTextBox" runat="server" Text='<%# Bind("P_ID") %>' /> </td> </tr> <tr> <td> P_Name: </td> <td> <asp:TextBox ID="P_NameTextBox0" runat="server" Text='<%# Bind("P_Name") %>' /> </td> </tr> <tr> <td> P_Year_Of_Publication: </td> <td> <asp:TextBox ID="P_Year_Of_PublicationTextBox0" runat="server" Text='<%# Bind("P_Year_Of_Publication") %>' /> </td> </tr> <tr> <td> P_Term1_Grade: </td>
142
<td> <asp:DropDownList ID="DropDownList2" runat="server" Height="16px" SelectedValue='<%# Bind("P_Term1_Grade") %>' Width="137px"> <asp:ListItem Value=""></asp:ListItem> <asp:ListItem Value="A+"></asp:ListItem> <asp:ListItem Value="A"></asp:ListItem> <asp:ListItem Value="B+"></asp:ListItem> <asp:ListItem Value="B"></asp:ListItem> <asp:ListItem Value="C+"></asp:ListItem> <asp:ListItem Value="C"></asp:ListItem> <asp:ListItem Value="D+"></asp:ListItem> <asp:ListItem Value="D"></asp:ListItem> <asp:ListItem Value="F"></asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td> P_Term2_Grade: </td> <td> <asp:DropDownList ID="DropDownList3" runat="server" Height="16px" SelectedValue='<%# Bind("P_Term2_Grade") %>' Width="137px"> <asp:ListItem Value=""></asp:ListItem> <asp:ListItem Value="A+"></asp:ListItem> <asp:ListItem Value="A"></asp:ListItem> <asp:ListItem Value="B+"></asp:ListItem> <asp:ListItem Value="B"></asp:ListItem> <asp:ListItem Value="C+"></asp:ListItem> <asp:ListItem Value="C"></asp:ListItem> <asp:ListItem Value="D+"></asp:ListItem> <asp:ListItem Value="D"></asp:ListItem> <asp:ListItem Value="F"></asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td> P_Generall_area: </td> <td> <asp:TextBox ID="P_Generall_areaTextBox0" runat="server" Text='<%# Bind("P_Generall_area") %>' /> </td> </tr> <tr> <td> P_Speciall_area: </td> <td>
143
<asp:TextBox ID="P_Speciall_areaTextBox0" runat="server" Text='<%# Bind("P_Speciall_area") %>' /> </td> </tr> <tr> <td> P_SW_Requirements: </td> <td> <asp:TextBox ID="P_SW_RequirementsTextBox0" runat="server" Text='<%# Bind("P_SW_Requirements") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_HW_Requirements: </td> <td> <asp:TextBox ID="P_HW_RequirementsTextBox0" runat="server" Text='<%# Bind("P_HW_Requirements") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Abstract_in_English: </td> <td> <asp:TextBox ID="P_Abstract_in_EnglishTextBox1" runat="server" Text='<%# Bind("P_Abstract_in_English") %>' /> </td> </tr> <tr> <td> P_Abstract_in_Arabic: </td> <td> <asp:TextBox ID="P_Abstract_in_EnglishTextBox0" runat="server" Text='<%# Bind("P_Abstract_in_Arabic") %>' /> </td> </tr> <tr> <td> P_Recommendations:</td> <td> <asp:TextBox ID="P_RecommendationsTextBox0" runat="server" Text='<%# Bind("P_Recommendations") %>' /> </td> </tr>
144
<tr> <td> P_Presentation: </td> <td> <asp:TextBox ID="P_PresentationTextBox0" runat="server" Text='<%# Bind("P_Presentation") %>' /> </td> </tr> <tr> <td> P_Implementation: </td> <td> <asp:TextBox ID="P_ImplementationTextBox0" runat="server" Text='<%# Bind("P_Implementation") %>' /> </td> </tr> <tr> <td> P_Documentation: </td> <td> <asp:TextBox ID="P_DocumentationTextBox0" runat="server" Text='<%# Bind("P_Documentation") %>' /> </td> </tr> <tr> <td> P_Term1_Notes:</td> <td> <asp:TextBox ID="P_Term1_NotesTextBox0" runat="server" Text='<%# Bind("P_Term1_Notes") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Term2_Notes: </td> <td> <asp:TextBox ID="P_Term2_NotesTextBox0" runat="server" Text='<%# Bind("P_Term2_Notes") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Keywords: </td> <td>
145
<asp:TextBox ID="P_KeywordsTextBox0" runat="server" Text='<%# Bind("P_Keywords") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> Department</td> <td> <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="SqlDataSourcedepartment" DataTextField="D_Name" DataValueField="D_ID" Height="22px" SelectedValue='<%# Bind("P_D_ID") %>' Width="200px"> </asp:DropDownList> <asp:SqlDataSource ID="SqlDataSourcedepartment" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [D_ID], [D_Name] FROM [Departments]"> </asp:SqlDataSource> </td> </tr> <tr> <td> </td> <td> <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Update" Text="Save And Next" /> <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </td> </tr> </table> </EditItemTemplate> <ItemTemplate> P_ID: <asp:Label ID="P_IDLabel" runat="server" Text='<%# Eval("P_ID") %>' /> <br /> P_Name: <asp:Label ID="P_NameLabel" runat="server" Text='<%# Bind("P_Name") %>' /> <br /> P_Year_Of_Publication: <asp:Label ID="P_Year_Of_PublicationLabel" runat="server" Text='<%# Bind("P_Year_Of_Publication") %>' /> <br /> P_Term1_Grade:
146
<asp:Label ID="P_Term1_GradeLabel" runat="server" Text='<%# Bind("P_Term1_Grade") %>' /> <br /> P_Term2_Grade: <asp:Label ID="P_Term2_GradeLabel" runat="server" Text='<%# Bind("P_Term2_Grade") %>' /> <br /> P_Generall_area: <asp:Label ID="P_Generall_areaLabel" runat="server" Text='<%# Bind("P_Generall_area") %>' /> <br /> P_Speciall_area: <asp:Label ID="P_Speciall_areaLabel" runat="server" Text='<%# Bind("P_Speciall_area") %>' /> <br /> P_SW_Requirements: <asp:Label ID="P_SW_RequirementsLabel" runat="server" Text='<%# Bind("P_SW_Requirements") %>' /> <br /> P_HW_Requirements: <asp:Label ID="P_HW_RequirementsLabel" runat="server" Text='<%# Bind("P_HW_Requirements") %>' /> <br /> P_Abstract_in_English: <asp:Label ID="P_Abstract_in_EnglishLabel" runat="server" Text='<%# Bind("P_Abstract_in_English") %>' /> <br /> P_Abstract_in_Arabic: <asp:Label ID="P_Abstract_in_ArabicLabel" runat="server" Text='<%# Bind("P_Abstract_in_Arabic") %>' /> <br /> P_Recommendations: <asp:Label ID="P_RecommendationsLabel" runat="server" Text='<%# Bind("P_Recommendations") %>' /> <br /> P_Presentation: <asp:Label ID="P_PresentationLabel" runat="server" Text='<%# Bind("P_Presentation") %>' /> <br /> P_Implementation: <asp:Label ID="P_ImplementationLabel" runat="server" Text='<%# Bind("P_Implementation") %>' /> <br /> P_Documentation: <asp:Label ID="P_DocumentationLabel" runat="server" Text='<%# Bind("P_Documentation") %>' /> <br /> P_Term1_Notes: <asp:Label ID="P_Term1_NotesLabel" runat="server" Text='<%# Bind("P_Term1_Notes") %>' /> <br /> P_Term2_Notes: <asp:Label ID="P_Term2_NotesLabel" runat="server" Text='<%# Bind("P_Term2_Notes") %>' /> <br /> P_Keywords:
147
<asp:Label ID="P_KeywordsLabel" runat="server" Text='<%# Bind("P_Keywords") %>' /> <br /> P_A_ID: <asp:Label ID="P_A_IDLabel" runat="server" Text='<%# Bind("P_A_ID") %>' /> <br /> P_D_ID: <asp:Label ID="P_D_IDLabel" runat="server" Text='<%# Bind("P_D_ID") %>' /> <br /> <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" /> <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" /> <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" Text="New" /> </ItemTemplate> </asp:FormView> <asp:SqlDataSource ID="SqlDataSourceInsertProject" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" DeleteCommand="DELETE FROM [Projects] WHERE [P_ID] = @P_ID" InsertCommand="INSERT INTO [Projects] ([P_ID], [P_Name], [P_Year_Of_Publication], [P_Term1_Grade], [P_Term2_Grade], [P_Generall_area], [P_Speciall_area], [P_SW_Requirements], [P_HW_Requirements], [P_Abstract_in_English], [P_Abstract_in_Arabic], [P_Recommendations], [P_Presentation], [P_Implementation], [P_Documentation], [P_Term1_Notes], [P_Term2_Notes], [P_Keywords], [P_A_ID], [P_D_ID]) VALUES (@P_ID, @P_Name, @P_Year_Of_Publication, @P_Term1_Grade, @P_Term2_Grade, @P_Generall_area, @P_Speciall_area, @P_SW_Requirements, @P_HW_Requirements, @P_Abstract_in_English, @P_Abstract_in_Arabic, @P_Recommendations, @P_Presentation, @P_Implementation, @P_Documentation, @P_Term1_Notes, @P_Term2_Notes, @P_Keywords, @P_A_ID, @P_D_ID)" SelectCommand="SELECT P_ID, P_Name, P_Year_Of_Publication, P_Term1_Grade, P_Term2_Grade, P_Generall_area, P_Speciall_area, P_SW_Requirements, P_HW_Requirements, P_Abstract_in_English, P_Abstract_in_Arabic, P_Recommendations, P_Presentation, P_Implementation, P_Documentation, P_Term1_Notes, P_Term2_Notes, P_Keywords, P_A_ID, P_D_ID FROM Projects WHERE (P_ID = @id)" UpdateCommand="UPDATE Projects SET P_Name = @P_Name, P_Year_Of_Publication = @P_Year_Of_Publication, P_Term1_Grade = @P_Term1_Grade, P_Term2_Grade = @P_Term2_Grade, P_Generall_area = @P_Generall_area, P_Speciall_area = @P_Speciall_area, P_SW_Requirements = @P_SW_Requirements, P_HW_Requirements = @P_HW_Requirements, P_Abstract_in_English = @P_Abstract_in_English, P_Abstract_in_Arabic = @P_Abstract_in_Arabic, P_Recommendations = @P_Recommendations, P_Presentation = @P_Presentation, P_Implementation = @P_Implementation, P_Documentation = @P_Documentation, P_Term1_Notes = @P_Term1_Notes, P_Term2_Notes =
148
@P_Term2_Notes, P_Keywords = @P_Keywords, P_D_ID = @P_D_ID WHERE (P_ID = @P_ID)"> <SelectParameters> <asp:QueryStringParameter Name="id" QueryStringField="Id" /> </SelectParameters> <DeleteParameters> <asp:Parameter Name="P_ID" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="P_Name" Type="String" /> <asp:Parameter Name="P_Year_Of_Publication" Type="String" /> <asp:Parameter Name="P_Term1_Grade" Type="String" /> <asp:Parameter Name="P_Term2_Grade" Type="String" /> <asp:Parameter Name="P_Generall_area" Type="String" /> <asp:Parameter Name="P_Speciall_area" Type="String" /> <asp:Parameter Name="P_SW_Requirements" Type="String" /> <asp:Parameter Name="P_HW_Requirements" Type="String" /> <asp:Parameter Name="P_Abstract_in_English" Type="String" /> <asp:Parameter Name="P_Abstract_in_Arabic" Type="String" /> <asp:Parameter Name="P_Recommendations" Type="String" /> <asp:Parameter Name="P_Presentation" Type="String" /> <asp:Parameter Name="P_Implementation" Type="String" /> <asp:Parameter Name="P_Documentation" Type="String" /> <asp:Parameter Name="P_Term1_Notes" Type="String" /> <asp:Parameter Name="P_Term2_Notes" Type="String" /> <asp:Parameter Name="P_Keywords" Type="String" /> <asp:Parameter Name="P_D_ID" Type="Int32" /> <asp:Parameter Name="P_ID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="P_ID" Type="Int32" /> <asp:Parameter Name="P_Name" Type="String" /> <asp:Parameter Name="P_Year_Of_Publication" Type="String" /> <asp:Parameter Name="P_Term1_Grade" Type="String" /> <asp:Parameter Name="P_Term2_Grade" Type="String" /> <asp:Parameter Name="P_Generall_area" Type="String" /> <asp:Parameter Name="P_Speciall_area" Type="String" /> <asp:Parameter Name="P_SW_Requirements" Type="String" /> <asp:Parameter Name="P_HW_Requirements" Type="String" /> <asp:Parameter Name="P_Abstract_in_English" Type="String" /> <asp:Parameter Name="P_Abstract_in_Arabic" Type="String" /> <asp:Parameter Name="P_Recommendations" Type="String" /> <asp:Parameter Name="P_Presentation" Type="String" /> <asp:Parameter Name="P_Implementation" Type="String" /> <asp:Parameter Name="P_Documentation" Type="String" /> <asp:Parameter Name="P_Term1_Notes" Type="String" /> <asp:Parameter Name="P_Term2_Notes" Type="String" /> <asp:Parameter Name="P_Keywords" Type="String" /> <asp:Parameter Name="P_A_ID" Type="Int32" /> <asp:Parameter Name="P_D_ID" Type="Int32" /> </InsertParameters> </asp:SqlDataSource> </asp:Content>
149
AddProjects.aspx:
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="AddProjects.aspx.vb" Inherits="AddProjects" title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style8 { width: 100%; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <asp:FormView ID="FormView1" runat="server" DataKeyNames="P_ID" DataSourceID="SqlDataSourceInsertProject" DefaultMode="Insert" Width="590px"> <EditItemTemplate> P_ID: <asp:Label ID="P_IDLabel1" runat="server" Text='<%# Eval("P_ID") %>' /> <br /> P_Name: <asp:TextBox ID="P_NameTextBox" runat="server" Text='<%# Bind("P_Name") %>' /> <br /> P_Year_Of_Publication: <asp:TextBox ID="P_Year_Of_PublicationTextBox" runat="server" Text='<%# Bind("P_Year_Of_Publication") %>' /> <br /> P_Term1_Grade: <asp:TextBox ID="P_Term1_GradeTextBox" runat="server" Text='<%# Bind("P_Term1_Grade") %>' /> <br /> P_Term2_Grade: <asp:TextBox ID="P_Term2_GradeTextBox" runat="server" Text='<%# Bind("P_Term2_Grade") %>' /> <br /> P_Generall_area: <asp:TextBox ID="P_Generall_areaTextBox" runat="server" Text='<%# Bind("P_Generall_area") %>' /> <br /> P_Speciall_area: <asp:TextBox ID="P_Speciall_areaTextBox" runat="server" Text='<%# Bind("P_Speciall_area") %>' /> <br /> P_SW_Requirements: <asp:TextBox ID="P_SW_RequirementsTextBox" runat="server" Text='<%# Bind("P_SW_Requirements") %>' /> <br /> P_HW_Requirements: <asp:TextBox ID="P_HW_RequirementsTextBox" runat="server"
150
Text='<%# Bind("P_HW_Requirements") %>' /> <br /> P_Abstract_in_English: <asp:TextBox ID="P_Abstract_in_EnglishTextBox" runat="server" Text='<%# Bind("P_Abstract_in_English") %>' /> <br /> P_Abstract_in_Arabic: <asp:TextBox ID="P_Abstract_in_ArabicTextBox" runat="server" Text='<%# Bind("P_Abstract_in_Arabic") %>' /> <br /> P_Recommendations: <asp:TextBox ID="P_RecommendationsTextBox" runat="server" Text='<%# Bind("P_Recommendations") %>' /> <br /> P_Presentation: <asp:TextBox ID="P_PresentationTextBox" runat="server" Text='<%# Bind("P_Presentation") %>' /> <br /> P_Implementation: <asp:TextBox ID="P_ImplementationTextBox" runat="server" Text='<%# Bind("P_Implementation") %>' /> <br /> P_Documentation: <asp:TextBox ID="P_DocumentationTextBox" runat="server" Text='<%# Bind("P_Documentation") %>' /> <br /> P_Term1_Notes: <asp:TextBox ID="P_Term1_NotesTextBox" runat="server" Text='<%# Bind("P_Term1_Notes") %>' /> <br /> P_Term2_Notes: <asp:TextBox ID="P_Term2_NotesTextBox" runat="server" Text='<%# Bind("P_Term2_Notes") %>' /> <br /> P_Keywords: <asp:TextBox ID="P_KeywordsTextBox" runat="server" Text='<%# Bind("P_Keywords") %>' /> <br /> P_A_ID: <asp:TextBox ID="P_A_IDTextBox" runat="server" Text='<%# Bind("P_A_ID") %>' /> <br /> P_D_ID: <asp:TextBox ID="P_D_IDTextBox" runat="server" Text='<%# Bind("P_D_ID") %>' /> <br /> <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update" Text="Update" /> <asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </EditItemTemplate> <InsertItemTemplate> <table class="style8"> <tr>
151
<td> P_ID: </td> <td> <asp:TextBox ID="P_IDTextBox" runat="server" Text='<%# Bind("P_ID") %>' /> </td> </tr> <tr> <td> P_Name: </td> <td> <asp:TextBox ID="P_NameTextBox" runat="server" Text='<%# Bind("P_Name") %>' /> </td> </tr> <tr> <td> P_Year_Of_Publication: </td> <td> <asp:TextBox ID="P_Year_Of_PublicationTextBox" runat="server" Text='<%# Bind("P_Year_Of_Publication") %>' /> </td> </tr> <tr> <td> P_Term1_Grade: </td> <td> <asp:DropDownList ID="DropDownList2" runat="server" Height="16px" SelectedValue='<%# Bind("P_Term1_Grade") %>' Width="137px" AppendDataBoundItems="True"> <asp:ListItem Text="" Value=""></asp:ListItem> <asp:ListItem Value="A+"></asp:ListItem> <asp:ListItem Value="A"></asp:ListItem> <asp:ListItem Value="B+"></asp:ListItem> <asp:ListItem Value="B"></asp:ListItem> <asp:ListItem Value="C+"></asp:ListItem> <asp:ListItem Value="C"></asp:ListItem> <asp:ListItem Value="D+"></asp:ListItem> <asp:ListItem Value="D"></asp:ListItem> <asp:ListItem Value="F"></asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td> P_Term2_Grade: </td> <td>
152
<asp:DropDownList ID="DropDownList3" runat="server" Height="16px" SelectedValue='<%# Bind("P_Term2_Grade") %>' Width="137px" AppendDataBoundItems="True"> <asp:ListItem Text="" Value=""></asp:ListItem> <asp:ListItem Value="A+"></asp:ListItem> <asp:ListItem Value="A"></asp:ListItem> <asp:ListItem Value="B+"></asp:ListItem> <asp:ListItem Value="B"></asp:ListItem> <asp:ListItem Value="C+"></asp:ListItem> <asp:ListItem Value="C"></asp:ListItem> <asp:ListItem Value="D+"></asp:ListItem> <asp:ListItem Value="D"></asp:ListItem> <asp:ListItem Value="F"></asp:ListItem> </asp:DropDownList> </td> </tr> <tr> <td> P_Generall_area: </td> <td> <asp:TextBox ID="P_Generall_areaTextBox" runat="server" Text='<%# Bind("P_Generall_area") %>' /> </td> </tr> <tr> <td> P_Speciall_area: </td> <td> <asp:TextBox ID="P_Speciall_areaTextBox" runat="server" Text='<%# Bind("P_Speciall_area") %>' /> </td> </tr> <tr> <td> P_SW_Requirements: </td> <td> <asp:TextBox ID="P_SW_RequirementsTextBox" runat="server" Text='<%# Bind("P_SW_Requirements") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_HW_Requirements: </td> <td> <asp:TextBox ID="P_HW_RequirementsTextBox" runat="server"
153
Text='<%# Bind("P_HW_Requirements") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Abstract_in_English: </td> <td> <asp:TextBox ID="P_Abstract_in_EnglishTextBox" runat="server" Text='<%# Bind("P_Abstract_in_English") %>' /> </td> </tr> <tr> <td> P_Abstract_in_Arabic: </td> <td> <asp:TextBox ID="P_Abstract_in_EnglishTextBox0" runat="server" Text='<%# Bind("P_Abstract_in_Arabic") %>' /> </td> </tr> <tr> <td> P_Recommendations:</td> <td> <asp:TextBox ID="P_RecommendationsTextBox" runat="server" Text='<%# Bind("P_Recommendations") %>' /> </td> </tr> <tr> <td> P_Presentation: </td> <td> <asp:TextBox ID="P_PresentationTextBox" runat="server" Text='<%# Bind("P_Presentation") %>' /> </td> </tr> <tr> <td> P_Implementation: </td> <td> <asp:TextBox ID="P_ImplementationTextBox" runat="server" Text='<%# Bind("P_Implementation") %>' /> </td> </tr> <tr> <td> P_Documentation:
154
</td> <td> <asp:TextBox ID="P_DocumentationTextBox" runat="server" Text='<%# Bind("P_Documentation") %>' /> </td> </tr> <tr> <td> P_Term1_Notes:</td> <td> <asp:TextBox ID="P_Term1_NotesTextBox" runat="server" Text='<%# Bind("P_Term1_Notes") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Term2_Notes: </td> <td> <asp:TextBox ID="P_Term2_NotesTextBox" runat="server" Text='<%# Bind("P_Term2_Notes") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> P_Keywords: </td> <td> <asp:TextBox ID="P_KeywordsTextBox" runat="server" Text='<%# Bind("P_Keywords") %>' TextMode="MultiLine" /> </td> </tr> <tr> <td> Department</td> <td> <asp:DropDownList ID="DropDownList4" runat="server" DataSourceID="SqlDataSourcedepartment" DataTextField="D_Name" DataValueField="D_ID" Height="22px" SelectedValue='<%# Bind("P_D_ID") %>' Width="200px"> </asp:DropDownList> <asp:SqlDataSource ID="SqlDataSourcedepartment" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SELECT [D_ID], [D_Name] FROM [Departments]"> </asp:SqlDataSource> </td> </tr>
155
<tr> <td> </td> <td> <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert" Text="Save And Next" /> <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </td> </tr> </table> </InsertItemTemplate> <ItemTemplate> P_ID: <asp:Label ID="P_IDLabel" runat="server" Text='<%# Eval("P_ID") %>' /> <br /> P_Name: <asp:Label ID="P_NameLabel" runat="server" Text='<%# Bind("P_Name") %>' /> <br /> P_Year_Of_Publication: <asp:Label ID="P_Year_Of_PublicationLabel" runat="server" Text='<%# Bind("P_Year_Of_Publication") %>' /> <br /> P_Term1_Grade: <asp:Label ID="P_Term1_GradeLabel" runat="server" Text='<%# Bind("P_Term1_Grade") %>' /> <br /> P_Term2_Grade: <asp:Label ID="P_Term2_GradeLabel" runat="server" Text='<%# Bind("P_Term2_Grade") %>' /> <br /> P_Generall_area: <asp:Label ID="P_Generall_areaLabel" runat="server" Text='<%# Bind("P_Generall_area") %>' /> <br /> P_Speciall_area: <asp:Label ID="P_Speciall_areaLabel" runat="server" Text='<%# Bind("P_Speciall_area") %>' /> <br /> P_SW_Requirements: <asp:Label ID="P_SW_RequirementsLabel" runat="server" Text='<%# Bind("P_SW_Requirements") %>' /> <br /> P_HW_Requirements: <asp:Label ID="P_HW_RequirementsLabel" runat="server" Text='<%# Bind("P_HW_Requirements") %>' /> <br /> P_Abstract_in_English: <asp:Label ID="P_Abstract_in_EnglishLabel" runat="server"
156
Text='<%# Bind("P_Abstract_in_English") %>' /> <br /> P_Abstract_in_Arabic: <asp:Label ID="P_Abstract_in_ArabicLabel" runat="server" Text='<%# Bind("P_Abstract_in_Arabic") %>' /> <br /> P_Recommendations: <asp:Label ID="P_RecommendationsLabel" runat="server" Text='<%# Bind("P_Recommendations") %>' /> <br /> P_Presentation: <asp:Label ID="P_PresentationLabel" runat="server" Text='<%# Bind("P_Presentation") %>' /> <br /> P_Implementation: <asp:Label ID="P_ImplementationLabel" runat="server" Text='<%# Bind("P_Implementation") %>' /> <br /> P_Documentation: <asp:Label ID="P_DocumentationLabel" runat="server" Text='<%# Bind("P_Documentation") %>' /> <br /> P_Term1_Notes: <asp:Label ID="P_Term1_NotesLabel" runat="server" Text='<%# Bind("P_Term1_Notes") %>' /> <br /> P_Term2_Notes: <asp:Label ID="P_Term2_NotesLabel" runat="server" Text='<%# Bind("P_Term2_Notes") %>' /> <br /> P_Keywords: <asp:Label ID="P_KeywordsLabel" runat="server" Text='<%# Bind("P_Keywords") %>' /> <br /> P_A_ID: <asp:Label ID="P_A_IDLabel" runat="server" Text='<%# Bind("P_A_ID") %>' /> <br /> P_D_ID: <asp:Label ID="P_D_IDLabel" runat="server" Text='<%# Bind("P_D_ID") %>' /> <br /> <asp:LinkButton ID="EditButton" runat="server" CausesValidation="False" CommandName="Edit" Text="Edit" /> <asp:LinkButton ID="DeleteButton" runat="server" CausesValidation="False" CommandName="Delete" Text="Delete" /> <asp:LinkButton ID="NewButton" runat="server" CausesValidation="False" CommandName="New" Text="New" /> </ItemTemplate> </asp:FormView> <asp:SqlDataSource ID="SqlDataSourceInsertProject" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString2 %>" DeleteCommand="DELETE FROM [Projects] WHERE [P_ID] = @P_ID"
157
InsertCommand="INSERT INTO Projects(P_ID, P_Name, P_Year_Of_Publication, P_Term1_Grade, P_Term2_Grade, P_Generall_area, P_Speciall_area, P_SW_Requirements, P_HW_Requirements, P_Abstract_in_English, P_Abstract_in_Arabic, P_Recommendations, P_Presentation, P_Implementation, P_Documentation, P_Term1_Notes, P_Term2_Notes, P_Keywords, P_D_ID) VALUES (@P_ID, @P_Name, @P_Year_Of_Publication, @P_Term1_Grade, @P_Term2_Grade, @P_Generall_area, @P_Speciall_area, @P_SW_Requirements, @P_HW_Requirements, @P_Abstract_in_English, @P_Abstract_in_Arabic, @P_Recommendations, @P_Presentation, @P_Implementation, @P_Documentation, @P_Term1_Notes, @P_Term2_Notes, @P_Keywords, @P_D_ID)" SelectCommand="SELECT [P_ID], [P_Name], [P_Year_Of_Publication], [P_Term1_Grade], [P_Term2_Grade], [P_Generall_area], [P_Speciall_area], [P_SW_Requirements], [P_HW_Requirements], [P_Abstract_in_English], [P_Abstract_in_Arabic], [P_Recommendations], [P_Presentation], [P_Implementation], [P_Documentation], [P_Term1_Notes], [P_Term2_Notes], [P_Keywords], [P_A_ID], [P_D_ID] FROM [Projects]" UpdateCommand="UPDATE [Projects] SET [P_Name] = @P_Name, [P_Year_Of_Publication] = @P_Year_Of_Publication, [P_Term1_Grade] = @P_Term1_Grade, [P_Term2_Grade] = @P_Term2_Grade, [P_Generall_area] = @P_Generall_area, [P_Speciall_area] = @P_Speciall_area, [P_SW_Requirements] = @P_SW_Requirements, [P_HW_Requirements] = @P_HW_Requirements, [P_Abstract_in_English] = @P_Abstract_in_English, [P_Abstract_in_Arabic] = @P_Abstract_in_Arabic, [P_Recommendations] = @P_Recommendations, [P_Presentation] = @P_Presentation, [P_Implementation] = @P_Implementation, [P_Documentation] = @P_Documentation, [P_Term1_Notes] = @P_Term1_Notes, [P_Term2_Notes] = @P_Term2_Notes, [P_Keywords] = @P_Keywords, [P_A_ID] = @P_A_ID, [P_D_ID] = @P_D_ID WHERE [P_ID] = @P_ID"> <DeleteParameters> <asp:Parameter Name="P_ID" Type="Int32" /> </DeleteParameters> <UpdateParameters> <asp:Parameter Name="P_Name" Type="String" /> <asp:Parameter Name="P_Year_Of_Publication" Type="String" /> <asp:Parameter Name="P_Term1_Grade" Type="String" /> <asp:Parameter Name="P_Term2_Grade" Type="String" /> <asp:Parameter Name="P_Generall_area" Type="String" /> <asp:Parameter Name="P_Speciall_area" Type="String" /> <asp:Parameter Name="P_SW_Requirements" Type="String" /> <asp:Parameter Name="P_HW_Requirements" Type="String" /> <asp:Parameter Name="P_Abstract_in_English" Type="String" /> <asp:Parameter Name="P_Abstract_in_Arabic" Type="String" /> <asp:Parameter Name="P_Recommendations" Type="String" /> <asp:Parameter Name="P_Presentation" Type="String" /> <asp:Parameter Name="P_Implementation" Type="String" /> <asp:Parameter Name="P_Documentation" Type="String" /> <asp:Parameter Name="P_Term1_Notes" Type="String" /> <asp:Parameter Name="P_Term2_Notes" Type="String" /> <asp:Parameter Name="P_Keywords" Type="String" /> <asp:Parameter Name="P_A_ID" Type="Int32" /> <asp:Parameter Name="P_D_ID" Type="Int32" /> <asp:Parameter Name="P_ID" Type="Int32" /> </UpdateParameters> <InsertParameters> <asp:Parameter Name="P_ID" Type="Int32" /> <asp:Parameter Name="P_Name" Type="String" />
158
<asp:Parameter Name="P_Year_Of_Publication" Type="String" /> <asp:Parameter Name="P_Term1_Grade" Type="String" /> <asp:Parameter Name="P_Term2_Grade" Type="String" /> <asp:Parameter Name="P_Generall_area" Type="String" /> <asp:Parameter Name="P_Speciall_area" Type="String" /> <asp:Parameter Name="P_SW_Requirements" Type="String" /> <asp:Parameter Name="P_HW_Requirements" Type="String" /> <asp:Parameter Name="P_Abstract_in_English" Type="String" /> <asp:Parameter Name="P_Abstract_in_Arabic" Type="String" /> <asp:Parameter Name="P_Recommendations" Type="String" /> <asp:Parameter Name="P_Presentation" Type="String" /> <asp:Parameter Name="P_Implementation" Type="String" /> <asp:Parameter Name="P_Documentation" Type="String" /> <asp:Parameter Name="P_Term1_Notes" Type="String" /> <asp:Parameter Name="P_Term2_Notes" Type="String" /> <asp:Parameter Name="P_Keywords" Type="String" /> <asp:Parameter Name="P_D_ID" Type="Int32" /> </InsertParameters> </asp:SqlDataSource> </asp:Content>
159
Appendix 3
Questionnaire.
160
" "
:
.
. . . . : ( ) ( ...) . ... .
161
. .
. . . . . .
261
1 2 3 4 5 6 7 8 9 01 11 21
. .
31 41 51
. . . (- - ). ( ).
61 71 81 91 02
361
..
1. :
. . . . . . : ( ) ( ...) . ... . .
2. :
.