Microsoft Access queries with somecolumnname = [?] do not show up in the list of Views in the New DataSource Wizard in Visual Studio.
The query works perfectly from within Microsoft Access by just prompting for the values of the parameters.
The columns of the query should populate labels on my form based on the values in a couple textboxes.
What is the “best-practices” way to use parameter queries in my .NET application?
Note: If applicable, VB.NET answers preferred over C# (both acceptable).
What if you do this:
instead of
Take a look at this:
Paremeters in TableAdapter not accepted
Are you missing some step?
How to: Connect to Data in an Access Database
Walkthrough: Connecting to Data in an Access Database (Windows Forms)