aspose file tools
The moose likes JDBC and Relational Databases and the fly likes Doubt on insert statement in JDBC!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Software Craftsman this week in the Agile forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Doubt on insert statement in JDBC!!" Watch "Doubt on insert statement in JDBC!!" New topic
Author

Doubt on insert statement in JDBC!!

dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
Hi all

i am trying to take user input in my
program but later i want to pass this to
the insert statement but everytime i am getting
an error.below is my code

Connect.java class



please if anyone can help on this
to what is going wrong in program it
will be great...............


thanks in advance..........

Dhwani:>Swimmers never weep.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

A couple of questions: what is the error you are seeing? And why are you using the jdbcdbc bridge? (is Access your database?)


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
dhwani mathur
Ranch Hand

Joined: May 08, 2007
Posts: 621
hi


My server is SQL and i am getting compiler error
in Eclipse.
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336


My server is SQL


Do you mean Microsoft SQL Server? In which case you should use jTDS or their own JDBC driver.


i am getting compiler error

...and what is that compiler error?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Doubt on insert statement in JDBC!!