Need help with the webapplication program?
-
i need to connect microsoft access 2007 with netbean j2ee program. my code is Connection con; Statement st; try{ Class.forName("sun6.jdbc.odbc.JdbcOdbcDr… con=DriverManager.getConnection("jdbc:od… st=con.createStatement(); st.executeUpdate("insert into logintabl values('"+a+"','"+b+"','"+c+"',"+d+")"); con.close(); i selected Administrative tool->data source->system dsn->Microsoft Access Driver(*.mdb, *.accdb) and gave the name has dsn999. created one database in microsoft access and gave all the attributes.but it's not connecting... is there any step that i am skipping. pls help. i will be grateful..<3
-
Answer:
1)Class.forName("sun6.jdbc.odbc.JdbcOdbc… check whether it is sun6.jdbc.odbc.... or sun.jdbc.odbc........ 2) st.executeUpdate("insert into logintabl values('"+a+"','"+b+"','"+c+"',"+d+")"); you have not insert ' ' in case of d.That should be ' " +d+ " '
Ramya at Yahoo! Answers Visit the source
Related Q & A:
- I need help on what I need to buy or do.Best solution by Yahoo! Answers
- I need help with some horse questions, can you help me.Best solution by Yahoo! Answers
- I did something really bad and now i need help please help me.Best solution by Yahoo! Answers
- Help with c++ grading program.Best solution by Yahoo! Answers
- What sort of opportunities are there to help people in Africa or places where people need help?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.