Final Documentation Solutions Inc TEAM SOLUTION Micheal Scott Trevor Moore Aurian James Wes Bailoni

Size: px
Start display at page:

Download "Final Documentation Solutions Inc TEAM SOLUTION Micheal Scott Trevor Moore Aurian James Wes Bailoni"

Transcription

1 Final Documentation Solutions Inc TEAM SOLUTION Micheal Scott Trevor Moore Aurian James Wes Bailoni

2 1 P a g e Table of Contents SITE HIERARCHY /Password... 4 Information... 5 Web.config... 6 web.config... 7 Default.aspx... 8 HOME PAGE... 9 Default.aspx.cs About.aspx ABOUT About.aspx.cs Cart.aspx CART Cart.aspx.cs CheckOut.aspx CHECKOUT CheckOut.aspx.cs Completion.aspx COMPLETION Completion.aspx.cs Completion2.aspx COMPLETION Completion2.aspx.cs Contact.aspx CONTACT Contact.aspx.cs CustomerAccount.aspx CUSTOMER ACCOUNT CustomerAccount.aspx.cs... 32

3 2 P a g e Login.aspx LOGIN Login.aspx.cs LoginUpdate.aspx LOGIN UPDATE LoginUpdate.aspx.cs Products.aspx PRODUCTS Products.aspx.cs Register.aspx REGISTER Register.aspx.cs Update.aspx UPDATE Update.aspx.cs Classes CartItem.cs Product.cs ShoppingCart.cs ENTITY RELATIONSHIP DIAGRAM ERD... 59

4 3 P a g e SITE HIERARCHY Home Products About Contact Cart Login Checkout Register Completion Customer Account Update Completion

5 4 P a g e /Password

6 5 P a g e Information The below information will allow you to login to the site. mws0100@unt.org asdfg

7 6 P a g e Web.config

8 7 P a g e web.config <?xml version="1.0"?> <!-- For more information on how to configure your ASP.NET application, please visit --> <configuration> <connectionstrings> <add name="solutionsconnectionstring" connectionstring="data Source=mimas.itds.unt.edu;Initial Catalog=Solutions;Persist Security Info=True;User ID=ECUser;Password=10nrszMoc1" providername="system.data.sqlclient"/> </connectionstrings> <appsettings> <add key="validationsettings:unobtrusivevalidationmode" value="none"/> </appsettings> <system.web> <compilation debug="true" targetframework="4.6.1"/> <httpruntime targetframework="4.6.1"/> <customerrors mode="off"/> </system.web> <system.codedom> <compilers> <compiler language="c#;cs;csharp" extension=".cs" type="microsoft.codedom.providers.dotnetcompilerplatform.csharpcodeprovider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version= , Culture=neutral, PublicKeyToken=31bf3856ad364e35" warninglevel="4" compileroptions="/langversion:default /nowarn:1659;1699;1701"/> <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="microsoft.codedom.providers.dotnetcompilerplatform.vbcodeprovider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version= , Culture=neutral, PublicKeyToken=31bf3856ad364e35" warninglevel="4" compileroptions="/langversion:default /nowarn:41008 /define:_mytype=\"web\" /optioninfer+"/> </compilers> </system.codedom> </configuration>

9 8 P a g e Default.aspx

10 9 P a g e HOME PAGE PURPOSE This page will welcome potential customers and provide users with information about the company and the products offered. LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be collected.

11 10 P a g e Default.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) ScriptManager.RegisterStartupScript(this.Page, this.page.gettype(), "err_msg", "alert('this is not a real business! This site was created for BCIS 4720 purposes ONLY!');", true);

12 11 P a g e About.aspx

13 12 P a g e ABOUT PURPOSE This page will provide a description of our company, and will display a link to team member profile. LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be displayed.

14 13 P a g e About.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 About : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e)

15 14 P a g e Cart.aspx

16 15 P a g e CART PURPOSE This page will allow customers to review the products in their cart. LAYOUT DESIGN DATA COLLECTED The data that is collected was the selection of products from the product page. DATA DISPLAYED The data that is displayed is the product title, quantity, price, total.

17 16 P a g e Cart.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 Cart : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) BindData(); protected void BindData() ShoppingCart cart = ShoppingCart.Instance; gvcart.datasource = cart.items; gvcart.databind(); protected void gvcart_rowdatabound(object sender, GridViewRowEventArgs e) if(e.row.rowtype == DataControlRowType.Footer) ShoppingCart cart = ShoppingCart.Instance; e.row.cells[3].text = "Total: " + cart.getsubtotal().tostring("c"); protected void gvcart_rowcommand(object sender, GridViewCommandEventArgs e) if (e.commandname == "Remove") int productid = Convert.ToInt32(e.CommandArgument); ShoppingCart cart = ShoppingCart.Instance; cart.removeitem(productid); BindData(); protected void btnupdatecart_click(object sender, EventArgs e) foreach (GridViewRow row in gvcart.rows) if (row.rowtype == DataControlRowType.DataRow) try int productid = Convert.ToInt32(gvCart.DataKeys[row.RowIndex].Value); int quantity = int.parse(((textbox)row.cells[1].findcontrol("txtquantity")).text); ShoppingCart cart = ShoppingCart.Instance;

18 17 P a g e cart.setitemquantity(productid, quantity); catch (FormatException) BindData(); protected void btncheckout_click1(object sender, EventArgs e) Response.Redirect(" protected void btnproduct_click(object sender, EventArgs e) Response.Redirect("

19 18 P a g e CheckOut.aspx

20 19 P a g e CHECKOUT PURPOSE This page will allow the customer to review and purchase the items that are in their shopping cart. LAYOUT DESIGN DATA COLLECTED The data that is collected is the customers shipping address and payment information. DATA DISPLAYED The data that is displayed is the shipping address.

21 20 P a g e CheckOut.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; using System.Data; using System.Data.SqlClient; public partial class CheckOut : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) // Use the session state object variable to retrieve the user's record SqlDataReader MyReader; SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.SelectCommand); mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@ ", Session["User "]); myconnection.open(); try // populate the labels if the retrieve is successful MyReader = mycommand.executereader(commandbehavior.closeconnection); while (MyReader.Read()) txtfname.text = MyReader.GetString(1).Trim(); txtlname.text = MyReader.GetString(2).Trim(); txtaddress.text = MyReader.GetString(4).Trim(); txtcity.text = MyReader.GetString(5).Trim(); txtstate.text = MyReader.GetString(6).Trim(); txtzipcode.text = MyReader.GetString(7); catch (Exception) // what to do if the retrieval fails Response.Redirect(" myconnection.close(); protected void btnrent_click(object sender, EventArgs e) Response.Redirect("

22 21 P a g e Completion.aspx

23 22 P a g e COMPLETION PURPOSE This page will show a message with the successfully completion of updating a profile. LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be displayed.

24 23 P a g e Completion.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 Completion : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (Session["UserName"]!= null) lblmessage.text = "Hello " + Session["Username"].ToString() + " you successfully updated your profile!"; lblmessage.visible = true; else Response.Redirect("

25 24 P a g e Completion2.aspx

26 25 P a g e COMPLETION2 PURPOSE This page will show a message with the successfully completion of checkout. LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be displayed.

27 26 P a g e Completion2.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 Completion2 : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (Session["UserName"]!= null) lblmessage.text = "Thank you " + Session["Username"].ToString() + " for renting your books with us. You have 4 months from today to return your books."; lblmessage.visible = true; else Response.Redirect("

28 27 P a g e Contact.aspx

29 28 P a g e CONTACT PURPOSE This page will give out our contact information so users may contact us with any issues or feedback. LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be displayed.

30 29 P a g e Contact.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 Contact : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e)

31 30 P a g e CustomerAccount.aspx

32 31 P a g e CUSTOMER ACCOUNT PURPOSE cart. This page will allow customers to manage their personal information continue shopping or view LAYOUT DESIGN DATA COLLECTED No data will be collected. DATA DISPLAYED No data will be displayed.

33 32 P a g e CustomerAccount.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 CustomerAccount : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void btnupdate_click(object sender, EventArgs e) Response.Redirect(" protected void btnshop_click(object sender, EventArgs e) Response.Redirect(" protected void btncart_click(object sender, EventArgs e) Response.Redirect("

34 33 P a g e Login.aspx

35 34 P a g e LOGIN PURPOSE This page will allow customers to sign into their account to purchase products or update their account. LAYOUT DESIGN DATA COLLECTED Data collected will be address and password. DATA DISPLAYED No data will be displayed.

36 35 P a g e Login.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; using System.Data; using System.Data.SqlClient; public partial class Login : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void btnsubmit_click(object sender, EventArgs e) string UserID = ""; string Password = ""; SqlDataReader MyReader; SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.SelectCommand); mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@password", txtpassword.text); mycommand.parameters.addwithvalue("@ ", txtusername.text); myconnection.open(); MyReader = mycommand.executereader(commandbehavior.closeconnection); while (MyReader.Read()) UserID = MyReader.GetString(2).Trim() + " " + MyReader.GetString(3).Trim(); Password = MyReader.GetString(1).Trim(); myconnection.close(); if (txtpassword.text.trim() == Password) Session["UserName"] = UserID; Session["User "] = txtusername.text.trim(); Response.Redirect(" else lblmessage.text = "Incorrect User Name or Password"; protected void btnupdate_click(object sender, EventArgs e) string UserID = ""; string Password = ""; SqlDataReader MyReader; SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.SelectCommand);

37 36 P a g e mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@password", txtpassword.text); mycommand.parameters.addwithvalue("@ ", txtusername.text); myconnection.open(); MyReader = mycommand.executereader(commandbehavior.closeconnection); while (MyReader.Read()) UserID = MyReader.GetString(2).Trim() + " " + MyReader.GetString(3).Trim(); Password = MyReader.GetString(1).Trim(); myconnection.close(); if (txtpassword.text.trim() == Password) Session["UserName"] = UserID; Session["User "] = txtusername.text.trim(); Response.Redirect(" else lblmessage.text = "Incorrect User Name or Password";

38 37 P a g e LoginUpdate.aspx

39 38 P a g e LOGIN UPDATE PURPOSE This page will allow customers to sign into their account to update their account. LAYOUT DESIGN DATA COLLECTED Data collected will be address and password. DATA DISPLAYED No data will be displayed.

40 39 P a g e LoginUpdate.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; using System.Data; using System.Data.SqlClient; public partial class LoginUpdate : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void btnupdate_click(object sender, EventArgs e) string UserID = ""; string Password = ""; SqlDataReader MyReader; SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.SelectCommand); mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@password", txtpassword.text); mycommand.parameters.addwithvalue("@ ", txtusername.text); myconnection.open(); MyReader = mycommand.executereader(commandbehavior.closeconnection); while (MyReader.Read()) UserID = MyReader.GetString(2).Trim() + " " + MyReader.GetString(3).Trim(); Password = MyReader.GetString(1).Trim(); myconnection.close(); if (txtpassword.text.trim() == Password) Session["UserName"] = UserID; Session["User "] = txtusername.text.trim(); Response.Redirect(" else lblmessage.text = "Incorrect User Name or Password";

41 40 P a g e Products.aspx

42 41 P a g e PRODUCTS PURPOSE This page will display pictures and information on products to users. LAYOUT DESIGN DATA COLLECTED When a product is selected the data will be collected and transferred to the shopping cart. DATA DISPLAYED Information about each product will be displayed.

43 42 P a g e Products.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Data; public partial class Products : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void btnadd_click1(object sender, EventArgs e) ShoppingCart.Instance.AddItem(1); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect(" protected void btnadd_click2(object sender, EventArgs e) ShoppingCart.Instance.AddItem(2); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect(" protected void btnadd_click3(object sender, EventArgs e) ShoppingCart.Instance.AddItem(3); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect(" protected void btnadd_click4(object sender, EventArgs e)

44 43 P a g e ShoppingCart.Instance.AddItem(4); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect(" protected void btnadd_click5(object sender, EventArgs e) ShoppingCart.Instance.AddItem(5); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect(" protected void btnadd_click6(object sender, EventArgs e) ShoppingCart.Instance.AddItem(6); if (Session["UserName"]!= null) Response.Redirect(" else Response.Redirect("

45 44 P a g e Register.aspx

46 45 P a g e REGISTER PURPOSE This page will allow new visitors to register for an account. After registering the customer will be allowed to sign in and purchase our products. LAYOUT DESIGN DATA COLLECTED The data collected will be First Name, Last Name, , Password, Address, City, State, Zip Code, and Phone Number. DATA DISPLAYED No data will be displayed.

47 46 P a g e Register.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; using System.Data; using System.Data.SqlClient; public partial class Register : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) protected void btnsubmit_click(object sender, EventArgs e) SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.InsertCommand); mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@fname", txtfname.text); mycommand.parameters.addwithvalue("@lname", txtlname.text); mycommand.parameters.addwithvalue("@password", txtpassword.text); mycommand.parameters.addwithvalue("@ ", txt .text); mycommand.parameters.addwithvalue("@address", txtaddress.text); mycommand.parameters.addwithvalue("@city", txtcity.text); mycommand.parameters.addwithvalue("@state", txtstate.text); mycommand.parameters.addwithvalue("@zipcode", txtzipcode.text); mycommand.parameters.addwithvalue("@phone", txtphone.text); SqlDataReader myreader; myconnection.open(); myreader = mycommand.executereader(commandbehavior.closeconnection); myconnection.close(); Response.Redirect("

48 47 P a g e Update.aspx

49 48 P a g e UPDATE PURPOSE This page will allow customers to update their account. LAYOUT DESIGN DATA COLLECTED The data collected will be First Name, Last Name, , Password, Address, City, State, Zip Code, and Phone Number. DATA DISPLAYED The data displayed will be First Name, Last Name, , Password, Address, City, State, Zip Code, and Phone Number.

50 49 P a g e Update.aspx.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.Security; using System.Data; using System.Data.SqlClient; public partial class Update : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) if (!IsPostBack) // Use the session state object variable to retrieve the user's record SqlDataReader MyReader; SqlConnection myconnection = new SqlConnection(SqlDataSource1.ConnectionString); SqlCommand mycommand = new SqlCommand(SqlDataSource1.SelectCommand); mycommand.connection = myconnection; mycommand.parameters.addwithvalue("@ ", Session["User "]); myconnection.open(); try // populate the labels if the retrieve is successful MyReader = mycommand.executereader(commandbehavior.closeconnection); while (MyReader.Read()) txtfname.text = MyReader.GetString(1).Trim(); txtlname.text = MyReader.GetString(2).Trim(); txtpassword.text = MyReader.GetString(3).Trim(); txt .text = MyReader.GetString(0).Trim(); txtaddress.text = MyReader.GetString(4).Trim(); txtcity.text = MyReader.GetString(5).Trim(); txtstate.text = MyReader.GetString(6).Trim(); txtzipcode.text = MyReader.GetString(7); txtphone.text = MyReader.GetString(8); catch (Exception) // what to do if the retrieval fails Response.Redirect("login.aspx"); myconnection.close(); protected void btnsubmit_click(object sender, EventArgs e) string FirstName; string LastName;

51 50 P a g e // Has user changed (used as primary key)? if (txt .text.trim()!= (String)Session["User "]) SqlConnection MyConnection = new SqlConnection(SqlDataSource1.ConnectionString); // Destroy the current record with a SQL DELETE using old as key SqlCommand MyCommand = new SqlCommand(SqlDataSource1.DeleteCommand); MyCommand.Connection = MyConnection; MyCommand.Parameters.AddWithValue("@ ", Session["User "]); SqlDataReader MyReader; MyConnection.Open(); MyReader = MyCommand.ExecuteReader(CommandBehavior.CloseConnection); MyConnection.Close(); // Now start building a completely new record SqlCommand MyCommand2 = new SqlCommand(SqlDataSource1.InsertCommand); MyCommand2.Connection = MyConnection; MyCommand2.Parameters.AddWithValue("@ ", txt .text); if ((txtpassword.text == "")) MyCommand2.Parameters.AddWithValue("@Password", txtpassword.text); else MyCommand2.Parameters.AddWithValue("@Password", txtpassword.text); MyCommand2.Parameters.AddWithValue("@FName", txtfname.text); FirstName = txtfname.text.trim(); MyCommand2.Parameters.AddWithValue("@LName", txtlname.text); LastName = txtlname.text.trim(); MyCommand2.Parameters.AddWithValue("@Address", txtaddress.text); MyCommand2.Parameters.AddWithValue("@City", txtcity.text); MyCommand2.Parameters.AddWithValue("@State", txtstate.text); MyCommand2.Parameters.AddWithValue("@ZipCode", txtzipcode.text); MyCommand2.Parameters.AddWithValue("@Phone", txtphone.text); SqlDataReader MyReader2; MyConnection.Open(); MyReader2 = MyCommand2.ExecuteReader(CommandBehavior.CloseConnection); // Update both session state object variables Session["User "] = txt .text; Session["UserName"] = (FirstName + (" " + LastName)); else // What to do if user keeps but makes any other change(s) SqlConnection MyConnection = new SqlConnection(SqlDataSource1.ConnectionString); // change the current record by using a SQL UPDATE SqlCommand MyCommand = new SqlCommand(SqlDataSource1.UpdateCommand); MyCommand.Connection = MyConnection; MyCommand.Parameters.AddWithValue("@ ", txt .text); if ((txtpassword.text == "")) MyCommand.Parameters.AddWithValue("@Password", txtpassword.text); else MyCommand.Parameters.AddWithValue("@Password", txtpassword.text);

52 51 P a g e MyCommand.Parameters.AddWithValue("@FName", txtfname.text); FirstName = txtfname.text.trim(); MyCommand.Parameters.AddWithValue("@LName", txtlname.text); LastName = txtlname.text.trim(); MyCommand.Parameters.AddWithValue("@Address", txtaddress.text); MyCommand.Parameters.AddWithValue("@City", txtcity.text); MyCommand.Parameters.AddWithValue("@State", txtstate.text); MyCommand.Parameters.AddWithValue("@ZipCode", txtzipcode.text); MyCommand.Parameters.AddWithValue("@Phone", txtphone.text); // Write the record SqlDataReader MyReader; MyConnection.Open(); MyReader = MyCommand.ExecuteReader(CommandBehavior.CloseConnection); MyConnection.Close(); // Update session state object variable in case changed Session["UserName"] = (FirstName + (" " + LastName)); Response.Redirect(" // either way, redirect

53 52 P a g e Classes

54 53 P a g e CartItem.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Class for CartItem /// </summary> public class CartItem : IEquatable<CartItem> public int Quantity get; set; private int _productid; public int ProductId get return _productid; set _product = null; _productid = value; private Product _product = null; public Product Prdut get if (_product == null) _product = new Product(ProductId); return _product; public string Title get return Prdut.Title; public decimal Price get return Prdut.Price; public decimal Total get return Price * Quantity;

55 54 P a g e public CartItem(int productid) this.productid = productid; public bool Equals(CartItem item) return item.productid == this.productid;

56 55 P a g e Product.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Class for products /// </summary> public class Product public int Id get; set; public decimal Price get; set; public string Title get; set; public Product(int id) this.id = id; switch (id) case 1: this.price = 35.95m; this.title = "Starting Out with Java: From Control Structures through Objects"; break; case 2: this.price = 40.95m; this.title = "Communicating Design"; break; case 3: this.price = 15.95m; this.title = "Information Architecture"; break; case 4: this.price = 31.95m; this.title = "Health Informatics for Medical Librarians"; break; case 5: this.price = 22.95m; this.title = "Introduction to Indexing and Abstracting"; break; case 6: this.price = 20.95m; this.title = "Murach's ASP.NET 4.6 Web Programming with C# 2015"; break;

57 56 P a g e ShoppingCart.cs using System; using System.Collections.Generic; using System.Linq; using System.Web; /// <summary> /// Class for shoppingcart /// </summary> public class ShoppingCart public List<CartItem> Items get; private set; public static ShoppingCart Instance get ShoppingCart c = null; if (HttpContext.Current.Session["ASPNETShoppingCart"] == null) c = new ShoppingCart(); c.items = new List<CartItem>(); HttpContext.Current.Session.Add("ASPNETShoppingCart", c); else c = (ShoppingCart)HttpContext.Current.Session["ASPNETShoppingCart"]; return c; public void AddItem(int productid) CartItem newitem = new CartItem(productId); if (Items.Contains(newItem)) foreach (CartItem item in Items) if (item.equals(newitem)) item.quantity++; return; else newitem.quantity = 1; Items.Add(newItem); public void SetItemQuantity(int productid, int quantity)

58 57 P a g e if (quantity == 0) RemoveItem(productId); return; CartItem updateditem = new CartItem(productId); foreach (CartItem item in Items) if (item.equals(updateditem)) item.quantity = quantity; return; public void RemoveItem(int productid) CartItem removeditem = new CartItem(productId); Items.Remove(removedItem); public decimal GetSubTotal() decimal subtotal = 0; foreach (CartItem item in Items) subtotal += item.total; return subtotal;

59 58 P a g e ENTITY RELATIONSHIP DIAGRAM

60 59 P a g e ERD CUSTOMER Has Payment PK PK Invoice_ID FName FK LName CCNum Address Exp_Mnth City Exp_Yr State Sec_Code Zip Has Order Order Product PK Order_ID PK Product_ID FK User_ID P_Title OrderPrice P_Author P_Overview P_Price

Pentatonic Labs Final Documentation

Pentatonic Labs Final Documentation Pentatonic Labs Final Documentation Chelsea Reynolds, Eric Stirling, Tayler Albert, Kyle White, Tam Huynh 1 Table of Contents Site Hierarchy......3 Home.....4 Home Display............4 Default.aspx.cs......4

More information

Final Documentation. Created By: Ahnaf Salam Adam Castillo Sergio Montejano Elliot Galanter

Final Documentation. Created By: Ahnaf Salam Adam Castillo Sergio Montejano Elliot Galanter Final Documentation Created By: Ahnaf Salam Adam Castillo Sergio Montejano Elliot Galanter Table of Contents SITE HIERARCHY: 5 WEB.CONFIG CODE: 6 LOGIN CREDENTIALS 6 HOME PAGE: 7 Purpose: 7 Design: 7 Data

More information

Blackbird Books and Supplies

Blackbird Books and Supplies Blackbird Books and Supplies Final Documentation Team Blackbird Mike Pratt Ridha Joudah Jayati Dandriyal Joseph Manga 1 Contents Site Hierarchy... 3 Home (Default Page)... 4 About... 6 Contact... 8 Login...

More information

3-tier Architecture Step by step Exercises Hans-Petter Halvorsen

3-tier Architecture Step by step Exercises Hans-Petter Halvorsen https://www.halvorsen.blog 3-tier Architecture Step by step Exercises Hans-Petter Halvorsen Software Architecture 3-Tier: A way to structure your code into logical parts. Different devices or software

More information

GSU Alumni Portal. OPUS Open Portal to University Scholarship. Governors State University. Vemuri Vinusha Chowdary Governors State University

GSU Alumni Portal. OPUS Open Portal to University Scholarship. Governors State University. Vemuri Vinusha Chowdary Governors State University Governors State University OPUS Open Portal to University Scholarship All Capstone Projects Student Capstone Projects Fall 2015 GSU Alumni Portal Vemuri Vinusha Chowdary Governors State University Sairam

More information

MOSS2007 Write your own custom authentication provider (Part 4)

MOSS2007 Write your own custom authentication provider (Part 4) MOSS2007 Write your own custom authentication provider (Part 4) So in the last few posts we have created a member and role provider and configured MOSS2007 to use this for authentication. Now we will create

More information

Activating AspxCodeGen 4.0

Activating AspxCodeGen 4.0 Activating AspxCodeGen 4.0 The first time you open AspxCodeGen 4 Professional Plus edition you will be presented with an activation form as shown in Figure 1. You will not be shown the activation form

More information

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1

ASP.NET Security. 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security 7/26/2017 EC512 Prof. Skinner 1 ASP.NET Security Architecture 7/26/2017 EC512 Prof. Skinner 2 Security Types IIS security Not ASP.NET specific Requires Windows accounts (NTFS file system)

More information

3 Customer records. Chapter 3: Customer records 57

3 Customer records. Chapter 3: Customer records 57 Chapter 3: Customer records 57 3 Customer records In this program we will investigate how records in a database can be displayed on a web page, and how new records can be entered on a web page and uploaded

More information

Social Networking Site

Social Networking Site Governors State University OPUS Open Portal to University Scholarship All Capstone Projects Student Capstone Projects Fall 2010 Social Networking Site Navis Amalraj Governors State University Follow this

More information

32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio

32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio 32-bit Oracle Data Access Components (ODAC) with Oracle Developer Tools for Visual Studio 1 2 Conexiune - Oracle.ManagedDataAccess.Client... 3 using Oracle.ManagedDataAccess.Client;... public partial class

More information

Employee Attendance System module using ASP.NET (C#)

Employee Attendance System module using ASP.NET (C#) Employee Attendance System module using ASP.NET (C#) Home.aspx DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

More information

How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample.

How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample. How to create a simple ASP.NET page to create/search data on baan using baan logic from the BOBS client sample. Author: Carlos Kassab Date: July/24/2006 First install BOBS(BaaN Ole Broker Server), you

More information

Unit-3 State Management in ASP.NET

Unit-3 State Management in ASP.NET STATE MANAGEMENT Web is Stateless. It means a new instance of the web page class is re-created each time the page is posted to the server. As we all know HTTP is a stateless protocol, it s can't holds

More information

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below.

Mainly three tables namely Teacher, Student and Class for small database of a school. are used. The snapshots of all three tables are shown below. APPENDIX 1 TABLE DETAILS Mainly three tables namely Teacher, Student and Class for small database of a school are used. The snapshots of all three tables are shown below. Details of Class table are shown

More information

Melon, Inc. Melon Components Starter Kit

Melon, Inc. Melon Components Starter Kit User s Guide for Melon Components Starter Kit For additional information www.meloncomponents.com Contact us at info@meloncomponents.com 2010 All rights reserved Contents Overview... 3 Melon Components

More information

Web Forms User Security and Administration

Web Forms User Security and Administration Chapter 7 Web Forms User Security and Administration In this chapter: Administering an ASP.NET 2.0 Site...................................... 238 Provider Configuration................................................

More information

STEP 1: CREATING THE DATABASE

STEP 1: CREATING THE DATABASE Date: 18/02/2013 Procedure: Creating a simple registration form in ASP.NET (Programming) Source: LINK Permalink: LINK Created by: HeelpBook Staff Document Version: 1.0 CREATING A SIMPLE REGISTRATION FORM

More information

Test Plan. Online Music Store Version 1.0. Submitted in partial fulfillment of the requirements of the degree of Master Software Engineering

Test Plan. Online Music Store Version 1.0. Submitted in partial fulfillment of the requirements of the degree of Master Software Engineering Test Plan Online Music Store Version 1.0 Submitted in partial fulfillment of the requirements of the degree of Master Software Engineering Reshma Sawant CIS 895 MSE Project Kansas State University 1 TABLE

More information

70-561CSHARP. TS: MS.NET Framework 3.5, ADO.NET Application Development. Exam.

70-561CSHARP. TS: MS.NET Framework 3.5, ADO.NET Application Development. Exam. Microsoft 70-561CSHARP TS: MS.NET Framework 3.5, ADO.NET Application Development Exam TYPE: DEMO http://www.examskey.com/70-561csharp.html Examskey Microsoft70-561CSHARP exam demo product is here for you

More information

Datalogging and Monitoring

Datalogging and Monitoring Datalogging and Monitoring with Step by Step Examples Hans-Petter Halvorsen http://www.halvorsen.blog Content Different Apps for Data Logging and Data Monitoring will be presented Here you find lots of

More information

Chapter 2 How to develop a one-page web application

Chapter 2 How to develop a one-page web application Chapter 2 How to develop a one-page web application Murach's ASP.NET 4.5/C#, C2 2013, Mike Murach & Associates, Inc. Slide 1 The aspx for a RequiredFieldValidator control

More information

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src="images/train.

In the previous chapter we created a web site with images programmed into HTML page code using commands such as: <img src=images/train. Chapter 6: Mountain Bike Club 113 6 Mountain Bike Club In the previous chapter we created a web site with images programmed into HTML page code using commands such as: In

More information

if (say==0) { k.commandtext = "Insert into kullanici(k_adi,sifre) values('" + textbox3.text + "','" + textbox4.text + "')"; k.

if (say==0) { k.commandtext = Insert into kullanici(k_adi,sifre) values(' + textbox3.text + ',' + textbox4.text + '); k. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.SqlClient;

More information

Teacher s Reference Manual

Teacher s Reference Manual UNIVERSITY OF MUMBAI Teacher s Reference Manual Subject: Advanced Web Programming with effect from the academic year 2018 2019 Practical 3(b).Demonstrate the use of Calendar control to perform following

More information

Tutorial #2: Adding Hyperlinks to ASP.NET

Tutorial #2: Adding Hyperlinks to ASP.NET Tutorial #2: Adding Hyperlinks to ASP.NET In the first tutorial you learned how to get data from a database to an ASP.NET page using data source controls. When displayed in a browser, your page looks like

More information

Oracle Academy Amazing Books Part 1: Building Tables and Adding Constraints

Oracle Academy Amazing Books Part 1: Building Tables and Adding Constraints Oracle Academy Amazing Books In this section, you use the Object Browser in Oracle Application Express to: Build the base tables for the project Add foreign key constraints Be sure to have a copy of the

More information

Insert Data into Table using C# Code

Insert Data into Table using C# Code Insert Data into Table using C# Code CREATE TABLE [registration]( [roll_no] [int] NULL, [name] [varchar](50), [class] [varchar](50), [sex] [varchar](50), [email] [varchar](50))

More information

8 Library loan system

8 Library loan system Chapter 8: Library loan system 153 8 Library loan system In previous programs in this book, we have taken a traditional procedural approach in transferring data directly between web pages and the ASP database.

More information

ADO.NET for Beginners

ADO.NET for Beginners Accessing Database ADO.NET for Beginners Accessing database using ADO.NET in C# or VB.NET This tutorial will teach you Database concepts and ADO.NET in a very simple and easy-to-understand manner with

More information

Handle Web Application Errors

Handle Web Application Errors Handle Web Application Errors Lesson Overview In this lesson, you will learn about: Hypertext Transfer Protocol (HTTP) error trapping Common HTTP errors HTTP Error Trapping Error handling in Web applications

More information

CSIS 1624 CLASS TEST 6

CSIS 1624 CLASS TEST 6 CSIS 1624 CLASS TEST 6 Instructions: Use visual studio 2012/2013 Make sure your work is saved correctly Submit your work as instructed by the demmies. This is an open-book test. You may consult the printed

More information

Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

Page Language=C# AutoEventWireup=true CodeFile=Default.aspx.cs Inherits=_Default %> در این مقاله قصد داریم با استفاده از Ajax کاربر یک پیام را بدون الگین شدن و با استفاده از IP بتواند الیک و یا دیس الیک کند را در ASPآموزش دهیم. برای شروع یک بانک اطالعاتی به نام Test که حاوی دو جدول به

More information

Sequence and ASP.NET Applications

Sequence and ASP.NET Applications PNMsoft Knowledge Base Sequence Best Practices Sequence and ASP.NET Applications Decmeber 2013 Product Version 7.x 2013 PNMsoft All Rights Reserved This document, including any supporting materials, is

More information

Murphy s Magic Download API

Murphy s Magic Download API Murphy s Magic Download API Last updated: 3rd January 2014 Introduction By fully integrating your website with the Murphy s Magic Download System, you can give the impression that the downloads are fully

More information

Connecting VirtueMart To PayPal (Live)

Connecting VirtueMart To PayPal (Live) Connecting VirtueMart To PayPal (Live) After testing is complete in the PayPal Sandbox and you are satisfied all is well, then its time to disconnect VirtueMart from the PayPal Sandbox and connect Virtuemart

More information

WCF - WAS HOSTING. Click Start Menu Control Panel Programs and Features, and click "Turn Windows Components On or Off" in the left pane.

WCF - WAS HOSTING. Click Start Menu Control Panel Programs and Features, and click Turn Windows Components On or Off in the left pane. http://www.tutorialspoint.com/wcf/wcf_was_hosting.htm WCF - WAS HOSTING Copyright tutorialspoint.com To understand the concept of WAS hosting, we need to comprehend how a system is configured and how a

More information

ASP.NET - MULTI THREADING

ASP.NET - MULTI THREADING ASP.NET - MULTI THREADING http://www.tutorialspoint.com/asp.net/asp.net_multi_threading.htm Copyright tutorialspoint.com A thread is defined as the execution path of a program. Each thread defines a unique

More information

Accessing Databases 7/6/2017 EC512 1

Accessing Databases 7/6/2017 EC512 1 Accessing Databases 7/6/2017 EC512 1 Types Available Visual Studio 2017 does not ship with SQL Server Express. You can download and install the latest version. You can also use an Access database by installing

More information

Creating the Product Catalog: Part II

Creating the Product Catalog: Part II Creating the Product Catalog: Part II Instructor: Wei Ding The lecture notes are written based on the book Beginning ASP.NET 2.0 E-Commerce in C# 2005 From Novice to Profession by Cristian Darie and Karli

More information

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year!

EXAMGOOD QUESTION & ANSWER. Accurate study guides High passing rate! Exam Good provides update free of charge in one year! EXAMGOOD QUESTION & ANSWER Exam Good provides update free of charge in one year! Accurate study guides High passing rate! http://www.examgood.com Exam : 70-547(VB) Title : PRO:Design and Develop Web-Basd

More information

CALCULATOR APPLICATION

CALCULATOR APPLICATION CALCULATOR APPLICATION Form1.cs using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Ordering Instructions for Marketing-on-Demand Website

Ordering Instructions for Marketing-on-Demand Website Ordering Instructions for Marketing-on-Demand Website 1. Login Go to http://www.stargas.consumergraphics.net to login to the website. Your Username and Password will be given to you by your RSM. 2. Home

More information

This PDF was generated in real-time using DynamicPDF; Generator for.net.

This PDF was generated in real-time using DynamicPDF; Generator for.net. MailingLabels.aspx 1 1 using System; 2 using System.Data; 3 using System.Data.SqlClient;

More information

Gift Card Magento Extension User Guide Official extension page: Gift Card

Gift Card Magento Extension User Guide Official extension page: Gift Card Gift Card Magento Extension User Guide Official extension page: Gift Card Page 1 Table of contents: 1. General Settings...3 2. Product Creation........7 3. Product Price Settings......8 4. Gift Card Information

More information

Creating the Product Catalog: Part II

Creating the Product Catalog: Part II A Database-Backed Web Site Creating the Product Catalog: Part II Instructor: Wei Ding The lecture notes are written based on the book Beginning ASP.NET 20EC 2.0 E-Commerce in C# 2005 From Novice to Profession

More information

Vision Document. Online E-commerce Music CD Store Version 2.0

Vision Document. Online E-commerce Music CD Store Version 2.0 Vision Document Online E-commerce Music CD Store Version 2.0 Submitted in partial fulfillment of the requirements of the degree of Master Software Engineering Reshma Sawant CIS 895 MSE Project Kansas State

More information

Database Lab. Hans-Petter Halvorsen

Database Lab.  Hans-Petter Halvorsen 2017.03.24 Database Lab http://home.hit.no/~hansha/?lab=database Hans-Petter Halvorsen Lab Overview Database Design & Modelling SQL Server Management Studio Create Tables Database Management Microsoft

More information

Quick Shopper Online Store KB P M P D P D

Quick Shopper Online Store KB P M P D P D Quick Shopper Online Store KB P M P D P D System Specification 1.0 Introduction 1.1 Goals and Objectives Quick Shopper is software that allows people to do their shopping over the Internet. Customers are

More information

E-Commerce Web Application

E-Commerce Web Application E-Commerce Web Application Documentation Jonathan Ellis Summary and Requirements DigitalX is a shop for music, movies, and video games in Auckland. The old website of DigitalX was developed using PHP and

More information

Database Communication in Visual Studio/C# using Web Services

Database Communication in Visual Studio/C# using Web Services https://www.halvorsen.blog Database Communication in Visual Studio/C# using Web Services Hans-Petter Halvorsen Background With Web Services you can easily get your data through Internet We will use Web

More information

COOKBOOK Creating an Order Form

COOKBOOK Creating an Order Form 2010 COOKBOOK Creating an Order Form Table of Contents Understanding the Project... 2 Table Relationships... 2 Objective... 4 Sample... 4 Implementation... 4 Generate Northwind Sample... 5 Order Form Page...

More information

Part I: Grids, Editors, Navigation, and Controls. Chapter 1: Programming with the ASPxGridView. Chapter 2: Advanced ASPxGridView Computing

Part I: Grids, Editors, Navigation, and Controls. Chapter 1: Programming with the ASPxGridView. Chapter 2: Advanced ASPxGridView Computing Part I: Grids, Editors, Navigation, and Controls Chapter 1: Programming with the ASPxGridView Chapter 2: Advanced ASPxGridView Computing Chapter 3: Using the ASPxTreeList, ASPxDataView, and ASPxNewsControl

More information

How to obtain log-in Information. How to log-in to FNB Online Catalog

How to obtain log-in Information. How to log-in to FNB Online Catalog Table of Contents 1. How to obtain log-in information and log-in pg. 2 2. Start your order pg. 3 3. Choose product details, confirm and check-out pg. 4 4. Select Purchase Type: Affiliate or Personal pg.

More information

STLCC Print Shop. user guide version 2.0

STLCC Print Shop. user guide version 2.0 STLCC Print Shop user guide version 2.0 SUPPORT Contact our support team with any questions express.support@modernlitho.com 573-644-6245 Monday-Friday 7am-5pm CST GETTING STARTED Go to www.modernlithoonline.com

More information

User Manual. Online E-commerce Music Store Version 1.0

User Manual. Online E-commerce Music Store Version 1.0 User Manual Online E-commerce Music Store Version 1.0 Submitted in partial fulfillment of the requirements of the degree of Master Software Engineering Reshma Sawant CIS 895 MSE Project Kansas State University

More information

Accessing Data in ASP.NET

Accessing Data in ASP.NET Chapter 8 Accessing Data in ASP.NET We have provided a very detailed discussion on database programming with Visual C#.NET using the Windows - based applications in the previous chapters. Starting with

More information

WEBSITE TRAINING GUIDE MY OFFICE PRODUCTS. Office Supplies & Business Print

WEBSITE TRAINING GUIDE MY OFFICE PRODUCTS. Office Supplies & Business Print WEBSITE TRAINING GUIDE MY OFFICE PRODUCTS Office Supplies & Business Print Table of Contents Log In... 2 Updating My User Information... 4 Creating Favorites List... 6 Viewing Saved Carts... 9 Creating

More information

Encrypt and Decrypt Username or Password stored in database in ASP.Net using C# and VB.Net

Encrypt and Decrypt Username or Password stored in database in ASP.Net using C# and VB.Net Encrypt and Decrypt Username or Password stored in database in ASP.Net using C# and VB.Net Here Mudassar Ahmed Khan has explained how to encrypt and store Username or Password in SQL Server Database Table

More information

Answer on Question# Programming, C#

Answer on Question# Programming, C# Answer on Question#38723 - Programming, C# 1. The development team of SoftSols Inc. has revamped the software according to the requirements of FlyHigh Airlines and is in the process of testing the software.

More information

AutomationDirect.com Order Import Feature

AutomationDirect.com Order Import Feature AutomationDirect.com Order Import Feature This document describes the requirements to upload a CSV or XML format order file from your system into our AutomationDirect.com E-commerce system to create an

More information

Extra Fee for Magento 2

Extra Fee for Magento 2 Extra Fee for Magento 2 Magento 2 Extension User Guide Official extension page: Extra Fee for Magento 2 Page 1 Table of contents: 1. General settings.....3 2. Extra Fees Creation.....5 3. Condition Settings...11

More information

User Sign In Page. New User Page. Click My Account on top or bottom toolbars.

User Sign In Page. New User Page. Click My Account on top or bottom toolbars. New User Instructions URL: www.costore.com/chemicalbank or www.chemicalbankstore.com Home Page For assistance please contact JMA Promotions- Amy Rush at 1-800-431-1101 or email arush@jmapromotions.com

More information

A Project Report On E-Watch Shopping System

A Project Report On E-Watch Shopping System A Project Report On E-Watch Shopping System Submitted By Patel Jigisha M Patel Payal V. Group No: 50 M.Sc. (CA & IT) Semester-III Guided By Mrs.Komal.H.Patel Submitted to Department

More information

Welcome to etrakit for Electrical Contractors. If you are a new user, please request a personal identification number (PIN) to set up your account

Welcome to etrakit for Electrical Contractors. If you are a new user, please request a personal identification number (PIN) to set up your account Welcome to etrakit for Electrical Contractors If you are a new user, please request a personal identification number (PIN) to set up your account Send an email to dli.etrakit@state.mn.us Include in your

More information

QNet Online Ordering Ordering Instructions

QNet Online Ordering Ordering Instructions QNet Online Ordering Ordering Instructions If you require any assistance please don t hesitate to contact your account manager or coordinator on +61 3 9834 3000. Page 1 Getting Started: DMC Group s Quantum

More information

Integrate WebScheduler to Microsoft SharePoint 2007

Integrate WebScheduler to Microsoft SharePoint 2007 Integrate WebScheduler to Microsoft SharePoint 2007 This white paper describes the techniques and walkthrough about integrating WebScheduler to Microsoft SharePoint 2007 as webpart. Prerequisites The following

More information

عنوان مقاله : نحوه ایجاد تصویر captcha در ASP.net تهیه وتنظیم کننده : مرجع تخصصی برنامه نویسان

عنوان مقاله : نحوه ایجاد تصویر captcha در ASP.net تهیه وتنظیم کننده : مرجع تخصصی برنامه نویسان در این مقاله قصد داریم نشان دهیم که چگونه می توان تصویر Captcha را در برنامه های ASP.netخود قرار دهیم captcha.برای تشخیص ربات ها از انسان ها ایجاد شده اند که با استفاده از آن ربات ها نتوانند به سایت وارد

More information

parts.cat.com In 5 minutes.

parts.cat.com In 5 minutes. parts.cat.com In 5 minutes. Contents Welcome to parts.cat.com 1 Getting Started 2 Site Search 3 Part Number and Serial Number Search 4 Understanding your Search Results 5 Find Parts by Category 6 Find

More information

Chapter 12: How to Create and Use Classes

Chapter 12: How to Create and Use Classes CIS 260 C# Chapter 12: How to Create and Use Classes 1. An Introduction to Classes 1.1. How classes can be used to structure an application A class is a template to define objects with their properties

More information

Real4Test. Real IT Certification Exam Study materials/braindumps

Real4Test.   Real IT Certification Exam Study materials/braindumps Real4Test http://www.real4test.com Real IT Certification Exam Study materials/braindumps Exam : 70-561-Csharp Title : TS:MS.NET Framework 3.5,ADO.NET Application Development Vendors : Microsoft Version

More information

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable();

ASP.net. Microsoft. Getting Started with. protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); Getting Started with protected void Page_Load(object sender, EventArgs e) { productsdatatable = new DataTable(); string connectionstring = System.Configuration.ConfigurationManager.ConnectionStrings ["default"].connectionstring;!

More information

PD ShippingCom (Reference Guide)

PD ShippingCom (Reference Guide) PD ShippingCom (Reference Guide) For use with all versions of PD Shipping Component Revised: 9/1/2017 PageDown Technology, LLC / Copyright 2017 All Rights Reserved. 1 Table of Contents Table of Contents...

More information

COPYRIGHTED MATERIAL. Index. Symbols. Index

COPYRIGHTED MATERIAL. Index. Symbols. Index Index Index Symbols @ (at) symbol, 138 @Page directive, 56 /* */ (forward slash plus asterisk) symbol, 102 103 ~ (tilde) symbol, 56 _ (underscore) symbol, 258 A abstractions (object-oriented programming),

More information

Arena: Edit External Web Templates (Course #A217)

Arena: Edit External Web Templates (Course #A217) Arena: Edit External Web Templates (Course #A217) Presented by: Alex Nicoletti Arena Product Owner 2017 Shelby Systems, Inc. Other brand and product names are trademarks or registered trademarks of the

More information

Placing Order from the Catalogs:

Placing Order from the Catalogs: Placing Order from the Catalogs: 1. Choose the Mechanical Solutions or the Controls & Instrumentation Tab. 2. Pick a category and drill down to a specific item. 3. Click on the item number to see the following

More information

ADO.NET Overview. Connected Architecture. SqlConnection, SqlCommand, DataReader class. Disconnected Architecture

ADO.NET Overview. Connected Architecture. SqlConnection, SqlCommand, DataReader class. Disconnected Architecture Topics Data is Everywhere ADO.NET Overview Connected Architecture EEE-474 DATABASE PROGRAMMİNG FOR İNTERNET INTRODUCTION TO ADO.NET Mustafa Öztoprak-2013514055 ASSOC.PROF.DR. TURGAY İBRİKÇİ ÇUKUROVA UNİVERSTY

More information

BİLGİLERİN GRIDVIEW İÇERİSİNDE EKLENMESİ, DÜZENLENMESİ VE SİLİNMESİ

BİLGİLERİN GRIDVIEW İÇERİSİNDE EKLENMESİ, DÜZENLENMESİ VE SİLİNMESİ BİLGİLERİN GRIDVIEW İÇERİSİNDE EKLENMESİ, DÜZENLENMESİ VE SİLİNMESİ default.aspx

More information

ORDERING FROM TEMPLATES Click on the My Accounts tab at the top of the screen, and then select Templates.

ORDERING FROM TEMPLATES Click on the My Accounts tab at the top of the screen, and then select Templates. ONLINE ORDERING INSTRUCTIONS LOGGING IN Visit the All Med Website at www.amms.net LOG-IN with your User Name and Password User Name: Password (case-sensitive): ORDERING FROM TEMPLATES Click on the My Accounts

More information

Welcome to the Goddess Purchasing Portal!

Welcome to the Goddess Purchasing Portal! Goddess Purchasing Portal Quick Reference Guide Welcome to the Goddess Purchasing Portal! URL http://www.goddessproductsinc.com/arkansas.html Login Password Your State of Arkansas Email Address Welcome1

More information

Main Login Screen Enter user name and password. New users can call or customer service using the information provided. If you have forgotten

Main Login Screen Enter user name and password. New users can call or  customer service using the information provided. If you have forgotten Main Login Screen Enter user name and password. New users can call or email customer service using the information provided. If you have forgotten your password, enter your email address in the box provided

More information

User Manual Online Book Store. Phase-III. Vamsi Krishna Mummaneni

User Manual Online Book Store. Phase-III. Vamsi Krishna Mummaneni User Manual Online Book Store Phase-III Submitted in partial fulfillment of the requirements of the degree of Master of Software Engineering Vamsi Krishna Mummaneni CIS 895 MSE Project Kansas State University

More information

C# winforms gridview

C# winforms gridview C# winforms gridview using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;

More information

Event Tickets Magento Extension User Guide Official extension page: Event Tickets

Event Tickets Magento Extension User Guide Official extension page: Event Tickets Event Tickets Magento Extension User Guide Official extension page: Event Tickets Page 1 Table of contents: 1. Event Creation........3 2. Ticket creation settings......6 3. Custom registration fields creation...8

More information

Working with Data in ASP.NET 2.0 :: Wrapping Database Modifications within a Transaction Introduction

Working with Data in ASP.NET 2.0 :: Wrapping Database Modifications within a Transaction Introduction 1 of 19 This tutorial is part of a set. Find out more about data access with ASP.NET in the Working with Data in ASP.NET 2.0 section of the ASP.NET site at http://www.asp.net/learn/dataaccess/default.aspx.

More information

EMPLOYEE STORE ORDERING INSTRUCTIONS

EMPLOYEE STORE ORDERING INSTRUCTIONS STEP 1: Create an Account/Log-In STEP 2: Place an Order STEP 3: Enter delivery/shipping information STEP4: Payment EMPLOYEE STORE ORDERING INSTRUCTIONS STEP 1: CREATE AN ACCOUNT/LOG-IN Once you have clicked

More information

New BoundTree.com User Guide Fall Version 6

New BoundTree.com User Guide Fall Version 6 New BoundTree.com User Guide Fall 2016 Version 6 Table of Contents Overview Navigating the Home Page Creating an Account Logging into an Existing Account Forgot Your Password? Reviewing Your Account Editing

More information

VALO Commerce. Beam Suntory User Guide

VALO Commerce. Beam Suntory User Guide VALO Commerce Beam Suntory User Guide Beam Suntory User Guide Access Your VALO Commerce Site through CONNECT Navigate to https://intlconnect.beamsuntory.com and click on the InnerWorkings tile to access

More information

Project Spring Item. Field Data Type Description Example Constraints Required. The ID for this table; autoincremented.

Project Spring Item. Field Data Type Description Example Constraints Required. The ID for this table; autoincremented. Item The ID for this table; autoincremented. 2 name The name of this Black House of Staunton vinyl chess board inventory_level The current number of this item in storage. 29 reorder_level The number of

More information

ORDERING PRINT RESOURCES

ORDERING PRINT RESOURCES ORDERING PRINT RESOURCES About YMCA Awards web shop... 1 Placing orders via the YMCA Awards web shop... 1 Updating/adding a delivery address... 7 About YMCA Awards web shop The YMCA Awards web shop allows

More information

Forest Service Unit Coordinator Website User Guide Index

Forest Service Unit Coordinator Website User Guide Index Forest Service Unit Coordinator Website User Guide Index Section Page Unit Coordinator Initial Login 2 The Home Page and Navigation: Notices Section 2 The Home Page and Navigation: Navigating Around The

More information

1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString(); 3 OleDbConnection conn2 =

1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString(); 3 OleDbConnection conn2 = public partial class borrow : System.Web.UI.Page protected void Page_Load(object sender, EventArgs e) 1 string start = DateTime.Now.ToShortDateString(); 2 string end = DateTime.Now.AddDays(5).ToShortDateString();

More information

Vision Document 2.0 Online Book Store Phase-II. Vamsi Krishna Mummaneni

Vision Document 2.0 Online Book Store Phase-II. Vamsi Krishna Mummaneni Vision Document 2.0 Online Book Store Phase-II Submitted in partial fulfillment of the requirements of the degree of Master of Software Engineering Vamsi Krishna Mummaneni CIS 895 MSE Project Kansas State

More information

Rail Mall 4.0. User manual

Rail Mall 4.0. User manual Rail Mall 4.0 User manual siemens.com/railmall Table of content Rail Mall 4.0 At a glance 3 Search Options 5 Registration at Rail Mall 8 Order Process 11 Price and Material Request 17 Miscellaneous 19

More information

Database Overview. Introduction to Database Systems, ERwin, SQL Server, SQL, etc. Hans-Petter Halvorsen, M.Sc.

Database Overview. Introduction to Database Systems, ERwin, SQL Server, SQL, etc. Hans-Petter Halvorsen, M.Sc. Database Overview Introduction to Database Systems, ERwin, SQL Server, SQL, etc. Hans-Petter Halvorsen, M.Sc. Contents Database Modelling/Design using ERwin Generate SQL Table Script using ERwin Generate

More information

PRACTICALES:- Navigation control

PRACTICALES:- Navigation control PRACTICALES:- Navigation control Navigation controls are use to shift control from one page to another. ASP.NET has three new navigation controls: Dynamic menus:- The control displays a standard

More information

place an order or Review your Patterson Advantage benefits and account information.

place an order or Review your Patterson Advantage benefits and account information. If you have an existing username and password for the website, select the Sign In button or enter your credentials in the Sign In field. To sign up for a new online account, select the Sign In button or

More information

Object Oriented Programming 2013/14. Final Exam June 20, 2014

Object Oriented Programming 2013/14. Final Exam June 20, 2014 Object Oriented Programming 2013/14 Final Exam June 20, 2014 Directions (read carefully): CLEARLY print your name and ID on every page. The exam contains 8 pages divided into 4 parts. Make sure you have

More information

Introduction. Three button technique. "Dynamic Data Grouping" using MS Reporting Services Asif Sayed

Introduction. Three button technique. Dynamic Data Grouping using MS Reporting Services Asif Sayed Image: 1.0 Introduction We hear this all the time, Two birds with one stone. What if I say, Four birds with one stone? I am sure four sound much better then two. So, what are my four birds and one stone?

More information

Creating a NEW ASP.NET Mobile Web Application

Creating a NEW ASP.NET Mobile Web Application 31_041781 ch28.qxp 8/1/06 9:01 PM Page 1149 Mobile Development We are entering an era of mobile applications. Mobile devices are getting better, faster, and cheaper every year. The bandwidth on these devices

More information