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.
Bats fly at night, 'cause they aren't we. And if we tried, we'd hit a tree -- Ogden Nash (or should've been).
Articles by Winston can be found here