Hello,
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:
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(storedProced ureCount>0)
Please help, I'm a beginner as you see, I will appreciate it if you explain me in detail.
With thanks, itsme7
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:
Code:
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(storedProced ureCount>0)
Please help, I'm a beginner as you see, I will appreciate it if you explain me in detail.
With thanks, itsme7
Comment