Thanks you so much. I got.. it:) Thanks you so much once again.. now i understand.. thanks you so much for your explanation.. that's good!!:)
Type: Posts; User: jayraj
Thanks you so much. I got.. it:) Thanks you so much once again.. now i understand.. thanks you so much for your explanation.. that's good!!:)
trying to write code to put header in all the text files in folder and create output text file.. in different folder.. I wrote the code.. using textarea put header in it and using string actually its...
didn't get confused again.... if i put comma.. than.. it will read every line.. but we need when traynumber changed.. how many times.. so...
so where i need to add that code??
--- Update ---
I got confused in this part.. because its has comma in every fields.. so....
< import javax.swing.JFileChooser;
import javax.swing.filechooser.FileNameExtensionFilter;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileReader;
import...
dude, I am not telling you to write code for me.. I just trying to tell you that.. which steps are good.. I mean which comes 1, 2, 3.. And you are right, I need to understand step first before write...
What do you mean?? i didn't understand you!! really sorry for.. its due tomorrow.. I need to finish that today.. its final project.. so please help me..
If you think that it will take several steps.. so what you want me to do.. do you have any idea.. how can i write code in simple steps..
please let me know.. really need help actually..
that's part i am trying to tell you..
1) choose text file.. done
2) look over that text file and traynumber field.. and how many times tray number changed.. suppose it like 3 times than
3) make...
Well
Step 2) read whole file but is not required.. I just write code for that.. to understand better..
soo
basically need to write code to
to look over traynumber field.. where tray number...
Step 1) choose text file from computer = Done
Step 2) read that text file = Done
Step 3) look to traynumber where tray number changed create new text files. 1 line is fields it should be same in...
create multiple text files and split text. like in 1 file tray number only 1 and other data and 2 file tray number 2 and other data..... I don't know code for that actually..
Hey, I write the code for first part its work good..
so its select only text file from computer and read that file.
But Confused second part what is code for that.. how is look like i don't...
Well, I know first part, To Choose text file from Computer and read that file.
Confused 2nd part to Create multiple text file samename traynumber1,2.....
Please help with second part if you can....
Trying to write Java code to choose text file from computer and split into multiple text file based on field information
Text file select:
"First Name","Last Name","Address Line 1","Address...
I know how to add fields manually in table. but I want to write the code to create fields itself as in text file first line is columns in table. i don't have to go to code every time and add columns...
Java programming. I din't finish the code yet but I don't how to create table fields its first line in text file..
so
Problem in this line:
String sql = "create table " +...
Hey Thank you so much for your quick replay
Try to write the code to choose text file and create table as an text file. but i got problem when i create fields in table fields name is in text file...
Java code to Import text file to mysql
1) choose text file from computer
2) read that line by line
3) connect to mysql database
4) create table as an text file name
5) first line in text...