Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

database connection with java application

 
Faisal Shahzad
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am new in java. i have to made a GUI based application which is used to collect data from user such as product id, product name, category, price etc.. store in MS Access database connect with this application. please any one help me. i want to discuss some points.
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to JavaRanch. If you have specific questions, feel free to ask. You should start by reading up on JDBC, the standard Java API for accessing DBs: http://docs.oracle.com/javase/tutorial/jdbc/index.html
 
Faisal Shahzad
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i face problem when save and retrieve data in database. please give me code for save and search button event handling .
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For starters, event button handling has nothing to do with DB access. It just happens to be where it occurs, and is irrelevant.

What is the "problem"? What do you have so far, what happens if you execute that code, and how does that deviate from what you expected to happen? TellTheDetails, and post a short, relevant extract from the code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic