Jun 02, 2015 01:16 PM|Afzaal.Ahmad.Zeeshan|LINK
Actually you have not shown any code or attempt to create the MDB file. The query that you have shown is simply a SELECT query for extraction of data. To successfully execute the above command, you require,
Once that has been done, then this query would be executed. Otherwise, exceptions... Exceptions... Exceptions.
Anyways, there is a
good article on CodeProject that contains the necessary code to create the database, and create a table (Employee) to execute the SELECT command on it. :) I hope you would get much details from it.
Secondly, to trigger the code in button click, you can create a separate function with the statements to your required program.