I have to upload the data from database(MYSQL) into the notepad.the data is coming from website which i m entering into the database but at the same time i want to fetch the same dta from database and upload that itno the notepad. Please tell me how to do it.
here is what i am doing...
in the line where i am inserting data, i am trying to insert that data into an excel sheet but i want to do the same in notepad.. what to do and where do i need to change the code??
thanks in advance..
Ulf Dittmer wrote:
What does it mean to "insert data into Notepad"? Do you want to create a text file that can be edited in Notepad? While there are ways to use JDBC to insert data into an Excel file, AFAIK, the same isn't true for text files. But you can use the classes in the java.io package to create and write to text files.
i just want to insert the column values with the column name same in the database.. isn't it possible?