information
if (isCorrect()) {
Thread runner = new Thread() {
public void run() {
book = new Books();
//for checking if there is no double
information in the database
book.connection("SELECT
BookID FROM Books WHERE ISBN = '" +
data[7] + "'");
String ISBN = book.getISBN();
if
(!data[7].equalsIgnoreCase(ISBN)) {
try {
String sql = "INSERT INTO
Books
(Subject,Title,Author,Publisher,Copyright," +
Do'stlaringiz bilan baham: |