Hey Everyone,
I'm having an issue that I hope someone can help me out with. If I have 2 DataTables (one that reads data from a DB and one that reads from a XML file), is there a way to combine them and eliminate any records that are duplicated. What I'm trying to do is build an app for a realtor that uses a RETS Connector, and I'm required to write the data to a XML file rather than another database for reasons that really aren't worth going into. But if you aren't familiar with a RETS Connection, you have to pull the data, write it how you want, and then you can use it on your site to your liking. They limit the connections so I can't just feed off of their database.
The client wants to be able to update the properties on a daily basis, so in order to eliminate a 12-hour wait time to download the property data by starting over, I'm trying to use the current xml file to fill a data table and compare it to another data table that is created when I search the RETS feed. If I can combine the data tables after they are filled and possibly combine/sort them, then eliminate any records that are duplicated (remove the original and duplicate), that will leave me with only the new properties. Then I can take that data to do the actual request for images, etc. Did I lose you?
If anyone has any ideas or links, please send them my way. Many thanks for any help.
This is a VB.NET web application.
I'm having an issue that I hope someone can help me out with. If I have 2 DataTables (one that reads data from a DB and one that reads from a XML file), is there a way to combine them and eliminate any records that are duplicated. What I'm trying to do is build an app for a realtor that uses a RETS Connector, and I'm required to write the data to a XML file rather than another database for reasons that really aren't worth going into. But if you aren't familiar with a RETS Connection, you have to pull the data, write it how you want, and then you can use it on your site to your liking. They limit the connections so I can't just feed off of their database.
The client wants to be able to update the properties on a daily basis, so in order to eliminate a 12-hour wait time to download the property data by starting over, I'm trying to use the current xml file to fill a data table and compare it to another data table that is created when I search the RETS feed. If I can combine the data tables after they are filled and possibly combine/sort them, then eliminate any records that are duplicated (remove the original and duplicate), that will leave me with only the new properties. Then I can take that data to do the actual request for images, etc. Did I lose you?
If anyone has any ideas or links, please send them my way. Many thanks for any help.
This is a VB.NET web application.
Comment