int x = Integer.parseInt (std_number.getText() );select * from Students where studentNumber = xwhen i execute this , there is an error like: 'x' is an invalid identifier.how i can pass an argument to a query
PreparedStatement and its bind methods.Start by reading a tutorial: http://java.sun.com/docs/books/tutorial/jdbc/index.htmlYou cannot write an application this way. You can't reasonably expect this forum to fill in all the blanks for you.%