Re: Mysql Connector LEFT JOIN Bug
Posted by: René Kühne
Date: May 31, 2020 02:18AM

I iterated over the myReader.Read and got 4 entries. The problem therefore lies in the Datatable.load method.

Using the MsqlDataAdapter to fill the table instead solves the problem! Finally I receive my 4 entries!

Incredible that so many posts and tutorials use the Datatable load pattern which is obviously corrupt. I think there are more people out there who face this without even knowing it.

Options: ReplyQuote

Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.