The user provides my vb.net code with a SQL query that would look like this for example:
select DISTINCT *from employees a INNER JOIN orders b on b.[Employee ID] = a.ID
I want to find a way to populate the datatable I create in code with the query columns and information but not actually get data. Is there a way to do this? The code also accepts queries from MySQL, MS Access, CSV as well as SQL.