Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search Coderanch
Advance search
Google search
Register / Login
MR Thakkar
Greenhorn
+ Follow
news
6
Posts
4
Threads
since May 13, 2002
Merit badge:
grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads
Recent posts by MR Thakkar
DATABASE APPLET
i have tried it no wbut i get the below error.
access denied(java.lang.RuntimePermission accessClassInPackage.sun.jdbc.odbc)
MY CODE
--------
try{ Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con=DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=question.MDB","","DbPass1"); Statement st=con.createStatement(); int aq=(int)(Math.random()*5); ResultSet rs=st.executeQuery("SELECT * FROM question WHERE question LIKE '"+aq+"%"+"'"); while(rs.next()){ System.out.print(rs.getString(1)); } }catch (Exception n){g.drawString(n.getMessage().toString(),30,40);}
[ Edited by Dave to format code and fix smilies ]
[ May 15, 2002: Message edited by: David O'Meara ]
show more
22 years ago
JDBC and Relational Databases
what is webstart and jnlp?
i am new to this .
why is this used and what are it's uses.
how do i get started.
thanks
show more
22 years ago
JNLP and Web Start
java or javascript or jython
i am java programmer and dont know anything about jython.is it something like javascript used in webbrowser or is it something like jsp.
what are its use and advantage?
thanks in advance.
show more
22 years ago
Jython/Python
javascript
R U AISHWARYA RAI?
show more
22 years ago
HTML Pages with CSS and JavaScript
how do i connect applet to datbase of ms-access.
how do i connect applet to datbase of ms-access.
show more
22 years ago
Applets
DATABASE APPLET
how do i connect applet to datbase of ms-access.
show more
22 years ago
JDBC and Relational Databases