I have a working client application written in Delphi, which connects to a custom Data Abstract Server.
I would like to write a similar client application in .NET.
I can login in the custom appserver, but when I’m trying to fetch data the following error occurs:
As the error message states, the dataset instance you try to provide as the 1st argument has no DataTables defined in it. DataAdapter cannot fetch data if no place where to put that data was provided.
The solution is to provide properly formed DataSet instance containing DataTables named after tables that will be fetched from the server.
Thanks for the answer. How can I properly set up the dataset if I want to fill it with the result of a not predefined (e.g. dynamically created) sql query?