public void CreatePawn() { double financeCharge = CreateFinanceCharge(); double principal = Convert.ToDouble(PrincipalTextBox.Text); double totalAmount = principal + financeCharge; string transactionID = poNumber; string customerID = GetSelectedCustomerID(); string productDesc = ProductDescTextBox.Text; string principalAmount = totalAmount.ToString(); string pawnDate = GetDate(); string status = "Open"; string defaultedDate = "1/1/1900"; string defaultDate = GetDefaultDate(); DataManager dataManager = new DataManager(connectionString); dataManager.InsertPawn(transactionID,customerID,productDesc,principalAmount, pawnDate,status,defaultedDate,defaultDate); }