• Post Reply Bookmark Topic Watch Topic
  • New Topic

Column Name for .csv File

 
Suji N
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I have a doubt
While inserting Data to .csv / text file from java application there should be atleast one column should specify manually.
Is there anyway to specify the column name [in .csv file] through java application.
thanksinadvance
Yours
Suji
 
Joe Paolangeli
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not totally sure what you are asking.
I have done some work work with .csv files (comma delimitted files). You can use the first row of the .csv file to define column names. Here is an example:

Hope this helps.
[This message has been edited by Joe Paolangeli (edited November 10, 2001).]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!