I'm working on a little project that has to get into a database on a server. My question is: How am I supposed to use the queries I made in MS Access in my C# project? I'm talking about queries such as:
Expand|Select|Wrap|Line Numbers
- SELECT Count(*) AS IDExists
- FROM tblCustomer
- WHERE ID=[@ID];
How am I supposed to send parameters (such as "@ID") from my C# code into the query?
I mean, if I want to use the query as a function and put it in an if, for example: if(storedProcedureCount>0)
Please help, I'm a beginner as you see, I will appreciate it if you explain me in detail.
With thanks, itsme7