Link to home
Start Free TrialLog in
Avatar of Murray Brown
Murray BrownFlag for United Kingdom of Great Britain and Northern Ireland

asked on

VB.net Get the SQL statement from a dataset

Hi

Is it possible to get the SQL Statement text from a DataSet such as the one built at the following link?

http://msdn.microsoft.com/en-us/library/system.data.dataset_methods(v=vs.110).aspx
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Murray Brown

ASKER

Hi Eric
I have posted various questions on building a GUI for users to create table joins for SQL queries. I have built an app over the last three years that mimics the Access query creation process but am stuck on this point that no one seems to have an answer for. I hope that someone out there has at least tried to do/explain this. A simplistic interface that allows the user to drag and drop or select [Table].[Column] names and how they join to each other across a selection of tables in a query. After all if it has been done in the Access query designer, it must be possible. I had thought that using a DataSet, which allows you to programmatically add relationships might be the route
Thanks Eric. That answers my question