Posted By:
Pradeep_Bhargav
Posted On:
Saturday, June 1, 2002 05:11 AM
Hi, I'm developing an application using which I should read the data from a text file and insert the record into a database and the remove the value in the file. Ex. I have a text file named employees.txt in which I have list of employees. Say, employee1 employee2 ... ... I should get the value in the first line i.e employee1 (first time), insert that into a DB then delete value "employee1" in the file. I'm able to get from text file and insert into DB, but I am not knowing how to delete the first line of the file. Regards, pradeepbhargav
More>>
Hi,
I'm developing an application using which I should read the
data from a text file and insert the record into a
database and the remove the value in the file.
Ex.
I have a text file named employees.txt in which I have list
of employees.
Say,
employee1
employee2
...
...
I should get the value in the first line i.e employee1 (first time),
insert that into a DB then delete value "employee1" in the file.
I'm able to get from text file and insert into DB, but
I am not knowing how to delete the first line of the file.
Regards,
pradeepbhargav
<<Less