public double GetCurrentPrincipal() { DataManager dataManager = new DataManager(connectionString); string transactionID = TransIDTextBox.Text; double currentPrincipal = dataManager.GetCurrentPrincipal(transactionID); return currentPrincipal; }