Inserting data from a .txt file to Database (Urgent)

Oct 30 2008 2:31 AM

Hi

I want to know the code for reading a .txt file present in my system and then insert the text into the database.

Eg:The text in .txt file is "FromDate|Todate|Reason for leave"

Now i want this text to insert into databasetables with respect to thier fields


Answers (1)