DataReader not working, get duplicates
I have used DataReader hundreds of times and I never had this problem before. The datareader seems to just keep giving me the same record over and over. But evertime I run it I might get a different record. I attached the main code involved. It get the header info and then gives the duplicate info. Initially it gave me different records.
I did change to x86, because I am using the Oracle dll which is not 64 bit. I am using VS2012 and I am on a 64 bit pc.
I am using Open XML to create a Excel spreadsheet. I have using Open XML before on a complicated program and using a lot of the same logic. This program is simple compared to that one.
I do not know what to do and online search does not have anything.
Thanks to anyone that can help.
arep