This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jdbc  RSS feed

 
vinayp babu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i have faceing one problem in my jdbc programe.I could use ResultSet interface and got the data from sql server 2000.Data is stored in resultset.i can use while(rs.nest()){
rs.getString(1);
data will appear on command promt
i want to data will be appear on .txt file.
so how is it possible please give the reply as early as possible.
thanks
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at the java.io package. This is how you interact with files.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!