How to write a program to Read from an excel sheet , write from an excel sheet in java. By creating columns like
name, age,gender, salary, designation.
if ( sal > 5000)
then update as fresher
if (sal >5000 and < 40000)
then it is lead
if (sal >40000 and <60000)
then it is manager.
try to check out this post :
What is the better API to Reading Excel sheets in java - JXL or Apache POI
It will give you enough informations to get started.
You can also give a try to search about CSV format, which can be imported and exported from Excel
您的问题含糊不清,但据我了解,您可能想要Apache POI之类的东西
Using below link you can get the both code for read or write data into Excel
http://viralpatel.net/blogs/java-read-write-excel-file-apache-poi/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.