Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Connecting a stand-alone app to a database

Status
Not open for further replies.

0x4B47

Programmer
Jun 22, 2003
60
US
Hi fellow Java coders,

I've got a stand-alone Java app with a input box, and a submit button. I want the submit button to connect to a database (sqlserver) and call a stored procedure passing the value in the input box as a param to it. I have the host ip, db name and store proc name.
Can anyone help me with the code inside the submit button on how to achieve this??

Thanks in advance.

KG.

01001011 01000111
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top