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...
Type: Posts; User: jayraj
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...