コード例 #1
0
 /// <summary>
 /// Inserts the Golf details and stores transaction id and cost into the session for paypal to use.
 /// </summary>
 /// Created by: Andrew Heim 11-29-12
 private void insertGolfRegistrantDetails()
 {
     BusinessTier bt = new BusinessTier();
     DataSet ds = bt.insertGolfRegistration((Dictionary<string, string>)Session["regInfo"]);
     Session["transactionID"] = ds.Tables[1].Rows[0][0];
     Session["cost"] = ((Dictionary<string, string>)Session["regInfo"])["cost"];
     Session["eventType"] = "Golf";
 }