Murray Brown
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
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Eric. That answers my question
ASKER
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