I have a two files (both are DAT file) on the computer. I have to write a
application which take the selected data from this file and selected data
from my database table and then generate a new file which contain all selected
data.

What's the best way to do it. because this two (.DAT) file continuous change
at particular time so it also change final output file.


Any help is realy appreciate.

Thanks