|
AddFromDB.aspx
|
Previous Top Next |
| · | Select the "ConStr" connection from the ConnectionString dropdown box.
|
| · | Select the "web_Products" query from the DBtable dropdown box, this is where the data will come from.
|
| · | Define the ParamName as "ProdID" this is the URL Parameter name the control will get the ProductID from, you defined this previously on the product.aspx page.
|
| · | Click the folder icon for the AfterAddURL and browse and select the cart.aspx page in the sites cart folder, this is where the user is redirected to once the item has been added to the cart.
|
| · | Select "OleDb" for the DataBaseType
|
| · | Select the "ProductID" field for the SelectorField, this is the database field the control will search within for the product id value passed in the ProdID URL Parameter.
|
| · | Select "Cart1" from the Cart dropdown box, this is how the control knows which cart to add the item to when your using multiple carts.
|
| · | Cart Field "ID" to get it's value from Database Field "PartNo"
|
| · | Cart Field "Description" to get it's value from Database Field "Description"
|
| · | Cart Field "RawCost" to get it's value from Database Field "Price"
|