public void ShowTop() { DatabaseConnection connection = new DatabaseConnection("Week9"); connection.ConnectionToDatabase(); DatabaseCommands TopBook = new DatabaseCommands(connection.Connection); TopBook.Top10FromTable("Book2", "Title", "Year", "Price"); }
public void ShowTop() { DatabaseConnection connection = new DatabaseConnection("Week9"); connection.ConnectionToDatabase(); DatabaseCommands TopPublisher = new DatabaseCommands(connection.Connection); TopPublisher.Top10FromTable("Publisher2", "PublisherId", "Name", null); }