In one page i insert data in textbox amd on clicking the submit button it will open a new page with the previous data(will retrived form database) that has been inserted using swing as desktop application in netbeans IDE6.0.we are able to insert data but unable to fetch it from database?
Please help me out....

Recommended Answers

All 2 Replies

Simple query such as

select * from TABLE_NAME:

will retrieve data. I think you doing something somewhere along the way. Would you mind to post your code?

PS: Please use code tags to keep your code formatted [code] YOUR CODE HERE [/code]

Usually inserting data is more difficult than retrieving (I guess this depends on the nature of searches). So assuming you have a working database connection, it must be some simple error.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.