diff --git a/Available.aspx b/Available.aspx
new file mode 100644
index 0000000..8494790
--- /dev/null
+++ b/Available.aspx
@@ -0,0 +1,131 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Available.aspx.cs" Inherits="HiralMehta_Project.WebForm2"%>
+
+
+
+
+
+
+ Advertise toy
+
+
+ Name |
+
+
+ |
+
+
+ City* |
+
+
+ *Required
+ |
+
+
+ Phone |
+
+
+ |
+
+
+ Email* |
+
+
+ *Required
+ |
+
+
+ Type of Toy/Game* |
+
+
+
+ *Required
+ |
+
+
+ Toy Description |
+
+
+ |
+
+
+ Good for kids in age group* |
+
+
+
+ Infant
+ Toddler
+ Between 5 - 8
+ Between 8 - 12
+
+
+ *Required
+
+ |
+
+
+ Availability in weeks* |
+
+
+ *Required
+ |
+
+
+ fields marked with * are Required fields |
+
+
+
+
+
+
+ |
+
+
+
+
+
+
+ |
+
+
+
+
Delete a toy? Provide your email
+
+ Your Email: |
+
+
+
+
+ |
+
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Available.aspx.cs b/Available.aspx.cs
new file mode 100644
index 0000000..e109c36
--- /dev/null
+++ b/Available.aspx.cs
@@ -0,0 +1,151 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data.SqlClient;
+using System.Configuration;
+using System.Data;
+using System.Drawing;
+
+namespace HiralMehta_Project
+{
+ public partial class WebForm2 : System.Web.UI.Page
+ {
+ string cs = ConfigurationManager.ConnectionStrings["ToyDB"].ConnectionString;
+
+ //On page load event, if page is not postback from server, dropdownlist will be populated with following data
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ ddlType.Items.Add("Soft toy");
+ ddlType.Items.Add("Doll");
+ ddlType.Items.Add("Board game");
+ ddlType.Items.Add("Lego");
+ ddlType.Items.Add("Plastic toys");
+ ddlType.Items.Add("Automobile");
+ ddlType.Items.Add("VideoGame");
+ ListItem liSelect = new ListItem("Select a type", "-1");
+ ddlType.Items.Insert(0, liSelect);
+ }
+ }
+
+ /*Author of the below method is Hiral Mehta. It is used to submit data into toy database based on data input by advertiser. Some fields are compulsory while others are not, so those data will be inserted as NULL values in database*/
+ protected void btnSubmitAvail_Click(object sender, EventArgs e)
+ {
+ string selectQuery = "SELECT ClientName,ClientCity,ClientPhone,ClientEmail,ToyType,ToyDesc,AgeGroup,AvailabilityWeeks FROM ToyData;";
+
+ SqlConnection conn = new SqlConnection(cs);//Establish connection
+
+ SqlDataAdapter da = new SqlDataAdapter(selectQuery, conn);//Instantiating new data adapter
+
+ DataSet ds = new DataSet();
+
+ da.Fill(ds, "ToyData");//New dataset ds filled with ToyData table
+
+ DataTable tblToyData = ds.Tables["ToyData"];
+
+ DataRow newRow = tblToyData.NewRow();
+
+ newRow["ClientName"] = txtName.Text.Trim();
+ newRow["ClientCity"] = txtCity.Text.Trim().ToUpper();
+ newRow["ClientPhone"] = txtPhone.Text.Trim();
+ newRow["ClientEmail"] = txtEmail.Text.Trim();
+ newRow["ToyType"] = ddlType.Text;
+ newRow["ToyDesc"] = txtDesc.Text.Trim();
+ newRow["AgeGroup"] = rblAvailAgeGroup.Text;
+ newRow["AvailabilityWeeks"] = txtAvail.Text.Trim();
+
+ tblToyData.Rows.Add(newRow);//Insert a new row based on field values
+
+
+ SqlCommandBuilder builder = new SqlCommandBuilder(da);
+
+ int rowsInserted = da.Update(ds, "ToyData");
+
+ if (rowsInserted > 0)//If row will be inserted, a message will be populated.
+ {
+ lblAvailable.Text = "Toy successfully inserted to database";
+ lblAvailable.ForeColor = Color.Green;
+ }
+ else
+ {
+ lblAvailable.Text = "Toy could not be inserted to database, please try again!!";
+ lblAvailable.ForeColor = Color.Red;
+ }
+ //All fields will be set to blank after data insertion
+ txtName.Text = "";
+ txtCity.Text = "";
+ txtPhone.Text = "";
+ txtEmail.Text = "";
+ txtDesc.Text = "";
+ txtAvail.Text = "";
+ ddlType.SelectedIndex = -1;
+
+ }
+
+ /*Author of the below method is Hiral Mehta. It is used to search existing toys from toy database based on client email provided initially when advertising a toy*/
+ private bool searchToy()
+ {
+ string selectQueryDel =
+ "Select ClientName,ToyType,ToyDesc,AgeGroup,AvailabilityWeeks from ToyData where ClientEmail=@ClientEmail1;";
+
+ SqlConnection conn = new SqlConnection(cs);
+
+ SqlDataAdapter da1 = new SqlDataAdapter(selectQueryDel, conn);
+
+ da1.SelectCommand.Parameters.AddWithValue("@ClientEmail1", txtEmailDel.Text);
+
+ DataSet ds1 = new DataSet();
+ Cache["DataSet"] = ds1;
+
+ da1.Fill(ds1, "ToyData");
+
+ DataTable tblToy = ds1.Tables["ToyData"];
+
+ if (tblToy.Rows.Count > 0)
+ {
+ gvDel.DataSource = ds1;
+ gvDel.DataBind();
+ return true;
+ }
+ else
+ {
+ return false;
+ }
+ }
+
+ /*The below method uses search toydatabase method and if toy found, a lable will display the message*/
+ protected void btnLoad_Click(object sender, EventArgs e)
+ {
+ if (searchToy())
+ {
+ lblDel.Text = "Here are your toys in the database";
+ lblDel.ForeColor = System.Drawing.Color.DarkGreen;
+ }
+ else
+ {
+ lblDel.Text = "No toy found with matching your email";
+ lblDel.ForeColor = System.Drawing.Color.Red;
+ }
+ }
+
+ /*The below method uses search toydatabase method and if toy found, the method will delete that toy from database and display message*/
+ protected void btnDelete_Click(object sender, EventArgs e)
+ {
+ if (searchToy())
+ {
+ DataSet ds1 = (DataSet)Cache["DataSet"];
+ DataRow dr = ds1.Tables["ToyData"].Rows[0];
+ dr.Delete();
+ lblDel.Text = "Toy deleted";
+ lblDel.ForeColor = System.Drawing.Color.Red;
+ gvDel.Visible = false;
+ txtEmailDel.Text = "";
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/Available.aspx.designer.cs b/Available.aspx.designer.cs
new file mode 100644
index 0000000..3523981
--- /dev/null
+++ b/Available.aspx.designer.cs
@@ -0,0 +1,195 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace HiralMehta_Project {
+
+
+ public partial class WebForm2 {
+
+ ///
+ /// txtName control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtName;
+
+ ///
+ /// txtCity control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtCity;
+
+ ///
+ /// reqVald1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqVald1;
+
+ ///
+ /// txtPhone control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtPhone;
+
+ ///
+ /// txtEmail control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtEmail;
+
+ ///
+ /// reqVald2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqVald2;
+
+ ///
+ /// ddlType control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlType;
+
+ ///
+ /// reqVald3 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqVald3;
+
+ ///
+ /// txtDesc control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtDesc;
+
+ ///
+ /// rblAvailAgeGroup control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RadioButtonList rblAvailAgeGroup;
+
+ ///
+ /// reqVald5 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqVald5;
+
+ ///
+ /// txtAvail control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtAvail;
+
+ ///
+ /// reqVald4 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqVald4;
+
+ ///
+ /// btnSubmitAvail control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnSubmitAvail;
+
+ ///
+ /// lblAvailable control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblAvailable;
+
+ ///
+ /// txtEmailDel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtEmailDel;
+
+ ///
+ /// btnLoad control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnLoad;
+
+ ///
+ /// btnDelete control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnDelete;
+
+ ///
+ /// lblDel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblDel;
+
+ ///
+ /// gvDel control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView gvDel;
+ }
+}
diff --git a/HiralMehta_Project.csproj b/HiralMehta_Project.csproj
new file mode 100644
index 0000000..b380f30
--- /dev/null
+++ b/HiralMehta_Project.csproj
@@ -0,0 +1,137 @@
+
+
+
+
+ Debug
+ AnyCPU
+
+
+ 2.0
+ {A43B133D-17C1-453D-BDC9-17F02CBD7011}
+ {349c5851-65df-11da-9384-00065b846f21};{fae04ec0-301f-11d3-bf4b-00c04f79efbc}
+ Library
+ Properties
+ HiralMehta_Project
+ HiralMehta_Project
+ v4.5
+ true
+
+
+
+
+
+
+ true
+ full
+ false
+ bin\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ pdbonly
+ true
+ bin\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Web.config
+
+
+ Web.config
+
+
+
+
+
+ ToyDB.mdf
+
+
+
+
+
+
+
+
+
+ SiteMaster.Master
+ ASPXCodeBehind
+
+
+ SiteMaster.Master
+
+
+ Home.aspx
+ ASPXCodeBehind
+
+
+ Home.aspx
+
+
+ Available.aspx
+ ASPXCodeBehind
+
+
+ Available.aspx
+
+
+
+
+ 10.0
+ $(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
+
+
+
+
+
+
+
+
+ True
+ True
+ 1475
+ /
+ http://localhost:1475/
+ False
+ False
+
+
+ False
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Home.aspx b/Home.aspx
new file mode 100644
index 0000000..b22b196
--- /dev/null
+++ b/Home.aspx
@@ -0,0 +1,94 @@
+<%@ Page Title="" Language="C#" MasterPageFile="~/SiteMaster.Master" AutoEventWireup="true" CodeBehind="Home.aspx.cs" Inherits="HiralMehta_Project.WebForm1" %>
+
+
+
+
+
+ Want a toy?
+
+
+
+ City* |
+
+
+ *Required
+ |
+
+
+
+ Type of Toy/Game* |
+
+
+
+ *Required
+ |
+
+
+
+ Good for kids in age group* |
+
+
+ Infant
+ Toddler
+ Between 5 - 8
+ Between 8 - 12
+
+
+ *Required
+
+ |
+
+
+ Availability in weeks* |
+
+ *Required
+ |
+
+
+ fields marked with * are Required fields |
+
+
+ |
+
+
+
+ |
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Home.aspx.cs b/Home.aspx.cs
new file mode 100644
index 0000000..eaee617
--- /dev/null
+++ b/Home.aspx.cs
@@ -0,0 +1,72 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using System.Data.SqlClient;
+using System.Configuration;
+using System.Data;
+
+namespace HiralMehta_Project
+{
+ public partial class WebForm1 : System.Web.UI.Page
+ {
+ string cs = ConfigurationManager.ConnectionStrings["ToyDB"].ConnectionString;
+
+ //On page load event, if page is not postback from server, dropdownlist will be populated with following data
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!Page.IsPostBack)
+ {
+ ddlTypeHome.Items.Add("Soft toy");
+ ddlTypeHome.Items.Add("Doll");
+ ddlTypeHome.Items.Add("Board game");
+ ddlTypeHome.Items.Add("Lego");
+ ddlTypeHome.Items.Add("Plastic toy");
+ ddlTypeHome.Items.Add("Automobile");
+ ddlTypeHome.Items.Add("VideoGame");
+ ListItem liSelect = new ListItem("Select a type", "-1");
+ ddlTypeHome.Items.Insert(0, liSelect);
+ }
+ }
+ /*Author of the below method is Hiral Mehta. It is used to search data from toy database based on query of toy seeker. All fields in search query are compulsory, so query will only be executed if all field has some value*/
+ protected void btnSubmitHome_Click(object sender, EventArgs e)
+ {
+ string selectQuery =
+ "Select ClientName,ClientCity,ClientPhone,ClientEmail,ToyType,ToyDesc,AgeGroup,AvailabilityWeeks from ToyData where ClientCity=@ClientCity AND ToyType=@ToyType AND AgeGroup=@AgeGroup AND AvailabilityWeeks=@AvailabilityWeeks;";
+
+ SqlConnection conn = new SqlConnection(cs);//Establish connection
+
+ SqlDataAdapter da = new SqlDataAdapter(selectQuery, conn);//Instantiating new data adapter object
+
+ da.SelectCommand.Parameters.AddWithValue("@AvailabilityWeeks", txtAvailHome.Text.Trim());
+ da.SelectCommand.Parameters.AddWithValue("@ToyType", ddlTypeHome.Text);
+ da.SelectCommand.Parameters.AddWithValue("@ClientCity", txtCityHome.Text.Trim());
+ da.SelectCommand.Parameters.AddWithValue("@AgeGroup", rblHomeAgeGroup.Text);
+
+ DataSet ds = new DataSet();
+
+ da.Fill(ds, "ToyData");//New dataset ds filled with ToyData table
+
+ DataTable tblToy = ds.Tables["ToyData"];
+
+ if (tblToy.Rows.Count > 0)//If matching toy will be found, table will be populated
+ {
+ gvHome.DataSource = ds;
+ gvHome.DataBind();
+
+ lblHome.Text = "Following Toys are found";
+ lblHome.ForeColor = System.Drawing.Color.DarkGreen;
+ }
+ else
+ {
+ lblHome.Text = "No toy found with matching your queries, please try different search!!";
+ lblHome.ForeColor = System.Drawing.Color.Red;
+ gvHome.Visible = false;
+ }
+
+ }
+
+ }
+}
\ No newline at end of file
diff --git a/Home.aspx.designer.cs b/Home.aspx.designer.cs
new file mode 100644
index 0000000..c1862ee
--- /dev/null
+++ b/Home.aspx.designer.cs
@@ -0,0 +1,114 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace HiralMehta_Project {
+
+
+ public partial class WebForm1 {
+
+ ///
+ /// txtCityHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtCityHome;
+
+ ///
+ /// reqValdHomeCity control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqValdHomeCity;
+
+ ///
+ /// ddlTypeHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.DropDownList ddlTypeHome;
+
+ ///
+ /// reqValdHomeType control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqValdHomeType;
+
+ ///
+ /// rblHomeAgeGroup control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RadioButtonList rblHomeAgeGroup;
+
+ ///
+ /// reqValdHomeAge control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqValdHomeAge;
+
+ ///
+ /// txtAvailHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.TextBox txtAvailHome;
+
+ ///
+ /// reqValdHomeAvail control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.RequiredFieldValidator reqValdHomeAvail;
+
+ ///
+ /// btnSubmitHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Button btnSubmitHome;
+
+ ///
+ /// lblHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.Label lblHome;
+
+ ///
+ /// gvHome control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.GridView gvHome;
+ }
+}
diff --git a/SiteMaster.Master b/SiteMaster.Master
new file mode 100644
index 0000000..2f7e987
--- /dev/null
+++ b/SiteMaster.Master
@@ -0,0 +1,57 @@
+<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="SiteMaster.master.cs" Inherits="HiralMehta_Project.SiteMaster"%>
+
+
+
+
+
+ A place to exchange toys in GTA
+
+
+
+
+
+
+
+
diff --git a/SiteMaster.Master.cs b/SiteMaster.Master.cs
new file mode 100644
index 0000000..12c69fe
--- /dev/null
+++ b/SiteMaster.Master.cs
@@ -0,0 +1,17 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace HiralMehta_Project
+{
+ public partial class SiteMaster : System.Web.UI.MasterPage
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/SiteMaster.Master.designer.cs b/SiteMaster.Master.designer.cs
new file mode 100644
index 0000000..f3bf9de
--- /dev/null
+++ b/SiteMaster.Master.designer.cs
@@ -0,0 +1,78 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace HiralMehta_Project {
+
+
+ public partial class SiteMaster {
+
+ ///
+ /// head control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ContentPlaceHolder head;
+
+ ///
+ /// form1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// HyperLink2 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink HyperLink2;
+
+ ///
+ /// HyperLink1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink HyperLink1;
+
+ ///
+ /// HyperLink4 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink HyperLink4;
+
+ ///
+ /// HyperLink3 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.HyperLink HyperLink3;
+
+ ///
+ /// ContentPlaceHolder1 control.
+ ///
+ ///
+ /// Auto-generated field.
+ /// To modify move field declaration from designer file to code-behind file.
+ ///
+ protected global::System.Web.UI.WebControls.ContentPlaceHolder ContentPlaceHolder1;
+ }
+}
diff --git a/myCSS.css b/myCSS.css
new file mode 100644
index 0000000..65a4200
--- /dev/null
+++ b/myCSS.css
@@ -0,0 +1,113 @@
+body,html {overflow:scroll;}
+body
+{
+ top: 0%;
+ background: url(images/bg1.jpg);
+ background-size: 100%;
+ position: fixed;
+ z-index: -2;
+ height: 100%;
+ left: 0%;
+ right: 0%;
+
+}
+#mainhead
+{
+font-size:2.2em;
+color: crimson;
+text-align: center;
+text-decoration-style: wavy;
+font-family:Comic Sans MS;
+font-style: oblique;
+background-color: white;
+border: solid thick blue;
+box-shadow: -5px 2px 5px darkred;
+margin-top: 2px;
+margin-left: 35%;
+padding: 5px;
+width:30%;
+height: 10%;
+}
+#menu{
+ float:left;
+ width:14%;
+ height:auto;
+ padding: 2px 0 0 3px;
+ background-color:white;
+ border-right: 2px solid darkred;
+ border-top: 5px solid darkred;
+ border-bottom: 5px solid darkred;
+ color:darkred;
+ line-height:30px;
+ position:absolute;
+ left:0;
+ top: 106px;
+}
+#general
+{
+font-family:Comic Sans MS;
+font-size:1.1em;
+padding:1%;
+color:darkblue;
+border: groove 3px darkred;
+box-shadow: -5px 2px 5px blue;
+width:70%;
+margin-left:15%;
+}
+#terms
+{
+border: dashed 2px blue;
+font-family:Calibri;
+font-size:0.9em;
+line-height:1.5em;
+width:50%;
+padding:2px;
+background-color: aliceblue;
+color:darkred;
+margin-left: 25%;
+}
+#available
+{
+ margin-left: 25%;
+ text-align: center;
+ font-size: 1.2em;
+ font-family: cursive;
+ font-weight: bold;
+ color:darkred;
+ width:55%;
+}
+#wanted
+{
+ margin-left: 25%;
+ text-align: center;
+ font-size: 1.2em;
+ font-family: cursive;
+ font-weight: bold;
+ color: darkred;
+ width:50%;
+ height: 383px;
+}
+.toy
+{
+box-shadow: -5px 2px 5px darkred;
+text-align:left;
+color: darkblue;
+font-family:cursive;
+font-weight: 100;
+line-height:20px;
+width:98%;
+}
+td
+{
+ border: solid thin black;
+}
+
+footer {
+ clear:left;
+ position:fixed;
+ bottom:0;
+ right:0;
+ left:0;
+ background-color:darkred;
+ color:white;
+}