string mySQL = string.Empty; mySQL += "INSERT INTO IssuedBooksTbl (Book_ID, Book_Name, RemainingQuantity,)"; mySQL += "SELECT Book_ID, Book_Name, Quantitiy FROM BookTbl WHERE Book_ID='" + IDTxt.Text +"'"; mySQL += "INSERT INTO IsuuedBooksTbl (IssuedBy = '" + Loginscreen.recBy + "', IssuedTime = '" + DateTime.Now + "')"; Connection.LibraryBooksServer.executeSQL(mySQL); System.Windows.MessageBox.Show("Book Added");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)