Call to MS Access parametrized query from ADO .NET

Call to MS Access parametrized query from ADO .NET

am 31.03.2005 12:01:20 von michaelvar (michaelvar

Hi.
I wrote a query with parameter in MS Access. When i try to call it from .NET(C#)
i recieved errors.
Can everybody send my working code.

Thanks

************************************************************ **********
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

Re: Call to MS Access parametrized query from ADO .NET

am 31.03.2005 13:58:11 von reb01501

michaelvar wrote:
> Hi.
> I wrote a query with parameter in MS Access. When i try to call it
> from .NET(C#)
> i recieved errors.
> Can everybody send my working code.
>
> Thanks
>
There was no way for you to know it, but this is a classic asp newsgroup.
While you may be lucky enough to find a dotnet-savvy person here who can
answer your question, you can eliminate the luck factor by posting your
question to a group where those dotnet-savvy people hang out. I suggest
microsoft.public.dotnet.framework.aspnet or
microsoft.public.dotnet.framework.adonet

Having said that. I do need to point out that the online help that comes
with Visual Studio contains several examples of using an OleDbCommand object
to pass parameters to stored procedures. If you don't have Visual Studio,
the same documentation can be found at msdn.microsoft.com/library. You can
even download and install the (massive) SDK so you don't have to visit the
website to read the documentation.

Finally, Google will reveal many examples of doing this. Just search for
OleDbCommand examples.

Bob Barrows

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"