PLEASE READ BEFORE OFFERING YOUR SERVICES.
I need to create a page, code and datalayer code for Retrieve Contract Info for this project. Attached is the project file, and the Project Case File.
Case Project—Statement of Work
Taylor’s Professional Services (TPS)
eCommerce Web Site
System Description
Taylor’s Professional Services is a technical and engineering staffing service. When a TPS client company determines that it will need a temporary professional or scientific employee, it issues a staffing request against the contract it previously negotiated with TPS.
TPS wants to provide a web site so that their clients can complete a staffing request over the internet. In addition, TPS wants to provide their clients with a list of potential candidates based on experience, education, salary, and location. A client will be able to select up to three potential staff members along with the location of work, type of work, and salary and submit the request to the contract manager. Once a client issues a staffing request, the system shall provide an automated response stating that the contract manager will validate their request within 24 hours of receipt.
Once a staffing request has been issued, the client will be able to log into the site and search for a staff request by number. The staff request query will result in a page that contains all staff request information along with a field that states whether the staff request is valid, invalid, unable to fill, or filled.
In addition, TPS staff members should be able update their resumes and picture through the web site.
The two areas of the website will be partitioned so that only clients with valid contract numbers and password are able to enter the client area and staff members with only valid employee numbers and password will be able to enter the staff area. Only the contract manager has full access to both locations.
Software Deliverables
Description of Functionality
The application will provide the following functionality:
1. Creation, modification, storage, and retrieval of staffing request information
2. Creation, modification, storage, and retrieval of contract information.
3. Creation, modification, storage, and retrieval of staff information.
4. Creation, modification, storage, and retrieval of user access information.
5. Allows a client to enter a staffing request into the database.
6. Allows a client to retrieve staffing request information.
7. Allows the contract manager to retrieve a staffing request from the database
8. Allows the contract manager to retrieve contract information
9. Allows the contract manager to validate the staffing request
10. Allows the contract manager to close out the staffing request.
11. Allows a staff member to update their personal information, resume, availability, and picture.
List of major software components
1. Access Control
2. Database Management
3. Client Interface
4. Contract Manager Interface and Business Rules
Equipment and Hardware Requirements
1. Small business network, with no more than 20 nodes
2. Standard Windows 2000/XP workstations.
3. MS Office 2000/XP, with MS Access
4. MS Outlook 2000/XP
Documentation
User Documentation
The contractor shall supply basic training user manuals describing each of the operations in a MS Word document.
Development Documentation
The contractor shall supply all Planning, Requirements, Design, and Source code.
Testing
Test Plan and Procedures
The contractor shall supply a test plan and procedures for each level of testing.
Unit Test Case Results
The contractor shall supply the results of the unit tests.
Integration Test Case Results
The contractor shall supply the results of the integration test.
Acceptance Test Case Results
The contractor shall supply the results of the acceptance test.
Project/App_Code/DataLayer.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.OleDb;
///
///
public class DataLayer
{
OleDbConnection databaseConnection = new OleDbConnection(“Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\\projectDB.accdb”);
OleDbDataAdapter databaseAdapter;
public DataLayer()
{
//
// TODO: Add constructor logic here
//
}
public dsUserLogin RetrieveUser(string UserName, string Password)
{
databaseConnection.Open();
databaseAdapter = new OleDbDataAdapter(“select * from userLogin where UserName='” + UserName + “‘ and Password ='” + Password + “‘”, databaseConnection);
dsUserLogin dsValidUser = new dsUserLogin();
databaseAdapter.Fill(dsValidUser.userLogin);
return dsValidUser;
}
}
Project/App_Code/dsUserLogin.xsd
DELETE FROM `userLogin` WHERE ((`UserID` = ?))
INSERT INTO `userLogin` (`UserName`, `Password`, `UserType`) VALUES (?, ?, ?)
SELECT userLogin.*
FROM userLogin
UPDATE `userLogin` SET `UserName` = ?, `Password` = ?, `UserType` = ? WHERE ((`UserID` = ?))
Project/App_Code/dsUserLogin.xss
Project/App_Data/projectDB.accdb
StaffID
FirstName
LastName
Address
City
State
ZipCode
Education
WorkType
Experience
Salary
Field1
1
John
Doe
1234 Imaginary St
San Diego
CA
90210
Masters
¤ 0.00
UserID
UserName
Password
UserType
2
Client
password
client
3
StaffMember
password
staffmember
4
ContractManager
password
contractmanager
Project/Bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
Project/Bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.1.0.7\lib\net45\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
Project/Bin/Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
Microsoft.CodeDom.Providers.DotNetCompilerPlatform
Provides access to instances of the .NET Compiler Platform C# code generator and code compiler.
Default Constructor
Gets an instance of the .NET Compiler Platform C# code compiler.
An instance of the .NET Compiler Platform C# code compiler
Provides access to instances of the .NET Compiler Platform VB code generator and code compiler.
Default Constructor
Gets an instance of the .NET Compiler Platform VB code compiler.
An instance of the .NET Compiler Platform VB code compiler
Project/Bin/roslyn/csc.exe
Project/Bin/roslyn/csc.exe.config
Project/Bin/roslyn/csc.exe.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\csc.exe
Project/Bin/roslyn/csc.rsp
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
# This file contains command-line options that the C#
# command line compiler (CSC) will process as part
# of every compilation, unless the “/noconfig” option
# is specified.
# Reference the common Framework libraries
/r:Accessibility.dll
/r:Microsoft.CSharp.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Core.dll
/r:System.Data.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Data.Linq.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceModel.dll
/r:System.ServiceModel.Web.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Extensions.Design.dll
/r:System.Web.Extensions.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Xml.dll
/r:System.Xml.Linq.dll
Project/Bin/roslyn/csi.exe
Project/Bin/roslyn/csi.exe.config
Project/Bin/roslyn/csi.exe.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\csi.exe
Project/Bin/roslyn/csi.rsp
/r:System
/r:System.Core
/r:Microsoft.CSharp
/r:System.ValueTuple.dll
/u:System
/u:System.IO
/u:System.Collections.Generic
/u:System.Console
/u:System.Diagnostics
/u:System.Dynamic
/u:System.Linq
/u:System.Linq.Expressions
/u:System.Text
/u:System.Threading.Tasks
Project/Bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll
Project/Bin/roslyn/Microsoft.Build.Tasks.CodeAnalysis.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.Build.Tasks.CodeAnalysis.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.CSharp.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.CodeAnalysis.CSharp.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.CSharp.Scripting.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.CSharp.Scripting.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.CodeAnalysis.CSharp.Scripting.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.CodeAnalysis.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.Scripting.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.Scripting.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.CodeAnalysis.Scripting.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll
Project/Bin/roslyn/Microsoft.CodeAnalysis.VisualBasic.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.CodeAnalysis.VisualBasic.dll
Project/Bin/roslyn/Microsoft.CSharp.Core.targets
$(NoWarn);1701;1702
$(NoWarn);2008
$(AppConfig)
$(IntermediateOutputPath)$(TargetName).compile.pdb
false
true
Project/Bin/roslyn/Microsoft.DiaSymReader.Native.amd64.dll
Project/Bin/roslyn/Microsoft.DiaSymReader.Native.amd64.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.DiaSymReader.Native.amd64.dll
Project/Bin/roslyn/Microsoft.DiaSymReader.Native.x86.dll
Project/Bin/roslyn/Microsoft.DiaSymReader.Native.x86.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.DiaSymReader.Native.x86.dll
Project/Bin/roslyn/Microsoft.VisualBasic.Core.targets
true
false
$(IntermediateOutputPath)$(TargetName).compile.pdb
false
true
Project/Bin/roslyn/Microsoft.Win32.Primitives.dll
Project/Bin/roslyn/Microsoft.Win32.Primitives.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\Microsoft.Win32.Primitives.dll
Project/Bin/roslyn/System.AppContext.dll
Project/Bin/roslyn/System.AppContext.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.AppContext.dll
Project/Bin/roslyn/System.Collections.Immutable.dll
Project/Bin/roslyn/System.Collections.Immutable.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Collections.Immutable.dll
Project/Bin/roslyn/System.Console.dll
Project/Bin/roslyn/System.Console.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Console.dll
Project/Bin/roslyn/System.Diagnostics.FileVersionInfo.dll
Project/Bin/roslyn/System.Diagnostics.FileVersionInfo.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Diagnostics.FileVersionInfo.dll
Project/Bin/roslyn/System.Diagnostics.Process.dll
Project/Bin/roslyn/System.Diagnostics.Process.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Diagnostics.Process.dll
Project/Bin/roslyn/System.Diagnostics.StackTrace.dll
Project/Bin/roslyn/System.Diagnostics.StackTrace.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Diagnostics.StackTrace.dll
Project/Bin/roslyn/System.IO.Compression.dll
Project/Bin/roslyn/System.IO.Compression.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.IO.Compression.dll
Project/Bin/roslyn/System.IO.FileSystem.dll
Project/Bin/roslyn/System.IO.FileSystem.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.IO.FileSystem.dll
Project/Bin/roslyn/System.IO.FileSystem.DriveInfo.dll
Project/Bin/roslyn/System.IO.FileSystem.DriveInfo.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.IO.FileSystem.DriveInfo.dll
Project/Bin/roslyn/System.IO.FileSystem.Primitives.dll
Project/Bin/roslyn/System.IO.FileSystem.Primitives.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.IO.FileSystem.Primitives.dll
Project/Bin/roslyn/System.IO.Pipes.dll
Project/Bin/roslyn/System.IO.Pipes.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.IO.Pipes.dll
Project/Bin/roslyn/System.Reflection.Metadata.dll
Project/Bin/roslyn/System.Reflection.Metadata.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Reflection.Metadata.dll
Project/Bin/roslyn/System.Security.AccessControl.dll
Project/Bin/roslyn/System.Security.AccessControl.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.AccessControl.dll
Project/Bin/roslyn/System.Security.Claims.dll
Project/Bin/roslyn/System.Security.Claims.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Claims.dll
Project/Bin/roslyn/System.Security.Cryptography.Algorithms.dll
Project/Bin/roslyn/System.Security.Cryptography.Algorithms.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Cryptography.Algorithms.dll
Project/Bin/roslyn/System.Security.Cryptography.Encoding.dll
Project/Bin/roslyn/System.Security.Cryptography.Encoding.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Cryptography.Encoding.dll
Project/Bin/roslyn/System.Security.Cryptography.Primitives.dll
Project/Bin/roslyn/System.Security.Cryptography.Primitives.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Cryptography.Primitives.dll
Project/Bin/roslyn/System.Security.Cryptography.X509Certificates.dll
Project/Bin/roslyn/System.Security.Cryptography.X509Certificates.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Cryptography.X509Certificates.dll
Project/Bin/roslyn/System.Security.Principal.Windows.dll
Project/Bin/roslyn/System.Security.Principal.Windows.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Security.Principal.Windows.dll
Project/Bin/roslyn/System.Text.Encoding.CodePages.dll
Project/Bin/roslyn/System.Text.Encoding.CodePages.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Text.Encoding.CodePages.dll
Project/Bin/roslyn/System.Threading.Thread.dll
Project/Bin/roslyn/System.Threading.Thread.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Threading.Thread.dll
Project/Bin/roslyn/System.ValueTuple.dll
Project/Bin/roslyn/System.ValueTuple.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.ValueTuple.dll
Project/Bin/roslyn/System.Xml.ReaderWriter.dll
Project/Bin/roslyn/System.Xml.ReaderWriter.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Xml.ReaderWriter.dll
Project/Bin/roslyn/System.Xml.XmlDocument.dll
Project/Bin/roslyn/System.Xml.XmlDocument.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Xml.XmlDocument.dll
Project/Bin/roslyn/System.Xml.XPath.dll
Project/Bin/roslyn/System.Xml.XPath.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Xml.XPath.dll
Project/Bin/roslyn/System.Xml.XPath.XDocument.dll
Project/Bin/roslyn/System.Xml.XPath.XDocument.dll.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\System.Xml.XPath.XDocument.dll
Project/Bin/roslyn/vbc.exe
Project/Bin/roslyn/vbc.exe.config
Project/Bin/roslyn/vbc.exe.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\vbc.exe
Project/Bin/roslyn/vbc.rsp
# Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
# This file contains command-line options that the VB
# command line compiler (VBC) will process as part
# of every compilation, unless the “/noconfig” option
# is specified.
# Reference the common Framework libraries
/r:Accessibility.dll
/r:System.Configuration.dll
/r:System.Configuration.Install.dll
/r:System.Data.dll
/r:System.Data.OracleClient.dll
/r:System.Deployment.dll
/r:System.Design.dll
/r:System.DirectoryServices.dll
/r:System.dll
/r:System.Drawing.Design.dll
/r:System.Drawing.dll
/r:System.EnterpriseServices.dll
/r:System.Management.dll
/r:System.Messaging.dll
/r:System.Runtime.Remoting.dll
/r:System.Runtime.Serialization.Formatters.Soap.dll
/r:System.Security.dll
/r:System.ServiceProcess.dll
/r:System.Transactions.dll
/r:System.Web.dll
/r:System.Web.Mobile.dll
/r:System.Web.RegularExpressions.dll
/r:System.Web.Services.dll
/r:System.Windows.Forms.dll
/r:System.XML.dll
/r:System.Workflow.Activities.dll
/r:System.Workflow.ComponentModel.dll
/r:System.Workflow.Runtime.dll
/r:System.Runtime.Serialization.dll
/r:System.ServiceModel.dll
/r:System.Core.dll
/r:System.Xml.Linq.dll
/r:System.Data.Linq.dll
/r:System.Data.DataSetExtensions.dll
/r:System.Web.Extensions.dll
/r:System.Web.Extensions.Design.dll
/r:System.ServiceModel.Web.dll
# Import System and Microsoft.VisualBasic
/imports:System
/imports:Microsoft.VisualBasic
/imports:System.Linq
/imports:System.Xml.Linq
/optioninfer+
Project/Bin/roslyn/VBCSCompiler.exe
Project/Bin/roslyn/VBCSCompiler.exe.config
Project/Bin/roslyn/VBCSCompiler.exe.refresh
..\..\..\..\source\repos\Project\packages\Microsoft.Net.Compilers.2.1.0\tools\VBCSCompiler.exe
Project/ClientDashboard.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ClientDashboard.aspx.cs" Inherits="_Default" %>
Project/ClientDashboard.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (Session[“SecurityLevel”].ToString() == “client”)
{
linkStaffingRequests.Visible = true;
linkStaffInfo.Visible = true;
linkContractInfo.Visible = false;
imgStaffingRequests.Visible = true;
imgStaffInfo.Visible = true;
imgContractInfo.Visible = false;
}
else if (Session[“SecurityLevel”].ToString() == “staffmember”)
{
linkStaffingRequests.Visible = false;
linkStaffInfo.Visible = true;
linkContractInfo.Visible = false;
imgStaffingRequests.Visible = false;
imgStaffInfo.Visible = true;
imgContractInfo.Visible = false;
}
else if (Session[“SecurityLevel”].ToString() == “contractmanager”)
{
linkStaffingRequests.Visible = true;
linkStaffInfo.Visible = true;
linkContractInfo.Visible = true;
imgStaffingRequests.Visible = true;
imgStaffInfo.Visible = true;
imgContractInfo.Visible = true;
}
else
{
Response.Redirect(“LoginPage.aspx”);
}
}
}
Project/images/contractInfoLogo
Project/images/logout
Project/images/staffInfoLogo.gif
Project/images/staffRequestLogo.gif
Project/images/TPSlogo
Project/LoginPage.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="LoginPage.aspx.cs" Inherits="_Default" %>
<%@ MasterType VirtualPath="~/MasterPage.master" %>
|
Project/LoginPage.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Master.UserFeedback.Text = “Please Login”;
Session[“SecurityLevel”] = null;
}
protected void Login1_Authenticate(object sender, AuthenticateEventArgs e)
{
DataLayer dbAccess = new DataLayer();
dsUserLogin dsValidUser = new dsUserLogin();
dsValidUser = dbAccess.RetrieveUser(Login1.UserName, Login1.Password);
if (dsValidUser.userLogin.Count == 1 && dsValidUser.userLogin[0].UserName == Login1.UserName && dsValidUser.userLogin[0].Password == Login1.Password)
{
Session[“SecurityLevel”] = dsValidUser.userLogin[0].UserType.ToString();
Master.UserFeedback.Text = dsValidUser.userLogin[0].UserType.ToString();
e.Authenticated = true;
FormsAuthentication.RedirectFromLoginPage(Login1.UserName, false);
}
else
{
Master.UserFeedback.Text = “Bad Credentials”;
}
}
}
Project/MasterPage.master
Taylor’s Professional Services
Technical and Engineering Staffing Service
Welcome!
Group 4 Project
Project/MasterPage.master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class MasterPage : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
{
}
public Label UserFeedback
{
get { return lblUserFeeBack; }
set { lblUserFeeBack = value; }
}
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{
Response.Redirect(“LoginPage.aspx”);
}
}
Project/packages.config
Project/StaffRequest.aspx
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="StaffRequest.aspx.cs" Inherits="_Default" %>
Project/StaffRequest.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
Project/Web.config
Project/Web.Debug.config