I want to populate database table by reading the data file which is in this format(manu , kaushik, software , engineer) its not a csv file its a .data file!!! I have used string tokeniser but it is just reading first field of file i.e manu only and giving unknown source error . Where is the problem?
Please DontWriteLongLines. It makes your thread very hard to read, which may put people off answering.
In some cases (eg, your SQL statement string) that even means breaking up Strings into shorter chunks. I've done it for you this time, but please read the link above, and also the UseCodeTags page again.
Isn't it funny how there's always time and money enough to do it WRONG?