/// <summary> /// Gets the names. /// </summary> /// <param name="customerID">The customer ID.</param> public void GetNames(int customerID) { Hashtable hshCust = new Hashtable(); try { CustomerData myData = new CustomerData(); hshCust = myData.GetNames(customerID); _firstname = hshCust["firstname"].ToString(); _lastname = hshCust["lastname"].ToString(); } catch (Exception ex) { ErrorRoutine(ex, "Customer", "GetNames"); } }