i'm using java awt in front end and microsoft visual foxpro 6.0 as the back end the project is completely working but the problem is that anyone can click on the table and can edit the table contents what shall i do to stop the modification in the database??
G
gaurav raghu
@gaurav raghu
Posts
-
foxpro database -
connectivity of MySQL with javaClass.forName("sun.jdbc.odbc.JdbcOdbcDriver"); Connection cn=DriverManager.getConnection("jdbc:odbc:gaurav","",""); String sql="SELECT * FROM optrdata WHERE name=? ANd password=?"; PreparedStatement pst=cn.prepareStatement(sql); pst.setString(1,t2.getText().trim()); pst.setString(2,t3.getText().trim()); THE ABOVE LINE OF CODE CONNECTS JAVA WITH FORXPRO NOW I WANT TO USE THE SAME CODE CONNECTED TO MY SQL PLEASE GIVE ME THE CODE FOR THE CONNECTIVITY OF MYSQL WITH JAVA....
-
connectivity of SQL server 2000 with javaFront end of my project is JSP and i'm suppose to use SQl Server as the database for the project so please provide my the code for the connectivity of java with sql server...