+ 2
Language for server site and android application development which will be connected to each other
every application user will have a unique ID password and whenever the user makes a request that will be saved in database automatically as a separate record for each user
4 ответов
+ 17
try {
Class.forName .... ;
Connection Con=Driver Manager ... ;
Syring id,s;
id=tf1.getText ();
s="select * from <table name> where <field name>=id;"
Statement st=Con.createStatement();
ResultSet rs=st.executeQuery (s);
if (!rs.next ())
JOptionPane.showMessageDialog (null,"no such record");
else {
tf2.setText (rs.getString ("<field name in table>");
. //fields to retrieve 👍
.
. }
}
catch (Exception e){
JOptionPane.showMessageDialog(null,e.getMessage ());}
//u can use netbeans java IDE(as front end) & MySQL (as backend)
//hope it helps☺
+ 2
please suggest programming languages and software as well
I know java and SQL programming
+ 2
thank you so much
+ 1
this is my first software project I am very confused about selecting IDE for both languages and development of database any help please